aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_poll.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-04-08 10:33:32 +0200
committerzottel <github@zottel.net>2012-04-08 10:33:32 +0200
commitaaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b (patch)
tree1d7e5f2b575b8836fefe76660f466cb176585d5c /mod/dfrn_poll.php
parent64a1367525ac920721943a08adec1124657df70d (diff)
parente3b2ac0735c908357dafb8670339fd34d3e2e6c0 (diff)
downloadvolse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.tar.gz
volse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.tar.bz2
volse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/dfrn_poll.php')
-rw-r--r--[-rwxr-xr-x]mod/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..100644
--- 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']))