]> git.mxchange.org Git - friendica.git/commitdiff
well that was a stupid mistake...
authorfriendica <info@friendica.com>
Thu, 5 Apr 2012 00:19:46 +0000 (17:19 -0700)
committerfriendica <info@friendica.com>
Thu, 5 Apr 2012 00:19:46 +0000 (17:19 -0700)
mod/dfrn_poll.php

index 6030587ce993da373ddcd467c4b7b3259ae78c77..5c27889831575a1e8cbd2f88ffff1a70530666cc 100755 (executable)
@@ -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']))