Browse Source

well that was a stupid mistake...

pull/206/head
friendica 9 years ago
parent
commit
f63636ed14
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mod/dfrn_poll.php

+ 1
- 1
mod/dfrn_poll.php View File

@ -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']))


Loading…
Cancel
Save