diff options
author | Michael Vogel <icarus@dabo.de> | 2012-04-06 00:00:46 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-04-06 00:00:46 +0200 |
commit | 34d268544e565985014ada4369e8673c87883a0a (patch) | |
tree | 49a30ed61668405d731df2e32b4548516ecb58b5 /mod/dfrn_poll.php | |
parent | 81dfb61f930005f0f65b1f72935c10edc247a985 (diff) | |
parent | 9b6e91086b29554fd04362f6c87ea148718e8b1c (diff) | |
download | volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.tar.gz volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.tar.bz2 volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.zip |
Merge commit 'upstream/master'
Diffstat (limited to 'mod/dfrn_poll.php')
-rwxr-xr-x | mod/dfrn_poll.php | 2 |
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'])) |