aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-04 17:19:46 -0700
committerfriendica <info@friendica.com>2012-04-04 17:19:46 -0700
commitf63636ed14ccd0e88f6e01153029ff6b79c91027 (patch)
tree165de3fbf5fd22200cae54abf3dbc3eda7685a70 /mod
parent145713c8e25c5fc622137dcbd472b6428dc9b8ba (diff)
downloadvolse-hubzilla-f63636ed14ccd0e88f6e01153029ff6b79c91027.tar.gz
volse-hubzilla-f63636ed14ccd0e88f6e01153029ff6b79c91027.tar.bz2
volse-hubzilla-f63636ed14ccd0e88f6e01153029ff6b79c91027.zip
well that was a stupid mistake...
Diffstat (limited to 'mod')
-rwxr-xr-xmod/dfrn_poll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php
index 6030587ce..5c2788983 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']))