From: friendica Date: Thu, 5 Apr 2012 00:19:46 +0000 (-0700) Subject: well that was a stupid mistake... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f63636ed14ccd0e88f6e01153029ff6b79c91027;p=friendica.git well that was a stupid mistake... --- diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 6030587ce9..5c27889831 100755 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -33,7 +33,7 @@ function dfrn_poll_init(&$a) { $user = ''; 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]) ); if((! count($r)) || (count($r) && $r[0]['hidewall']))