well that was a stupid mistake...

This commit is contained in:
friendica 2012-04-04 17:19:46 -07:00
parent 145713c8e2
commit f63636ed14

View file

@ -33,7 +33,7 @@ function dfrn_poll_init(&$a) {
$user = ''; $user = '';
if($a->argc > 1) { if($a->argc > 1) {
$r = q("SELECT `hidewall` FROM `user` WHERE `user`.`nickname` = '%s' LIMIT 1", $r = q("SELECT `hidewall`,`nickname` FROM `user` WHERE `user`.`nickname` = '%s' LIMIT 1",
dbesc($a->argv[1]) dbesc($a->argv[1])
); );
if((! count($r)) || (count($r) && $r[0]['hidewall'])) if((! count($r)) || (count($r) && $r[0]['hidewall']))