aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_poll.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-19 06:58:03 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-19 06:58:03 -0700
commit6695b4a203ab03941c8b3305a3e55cc02b85a5ac (patch)
tree47af4ee89d71b4c0584ae30da1883d5ae9e933a2 /mod/dfrn_poll.php
parentbbe53699f26bfa4e4d17da097fd8f2fc14da47dd (diff)
downloadvolse-hubzilla-6695b4a203ab03941c8b3305a3e55cc02b85a5ac.tar.gz
volse-hubzilla-6695b4a203ab03941c8b3305a3e55cc02b85a5ac.tar.bz2
volse-hubzilla-6695b4a203ab03941c8b3305a3e55cc02b85a5ac.zip
more bugs
Diffstat (limited to 'mod/dfrn_poll.php')
-rw-r--r--mod/dfrn_poll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php
index 6b4c50ad2..e3da6c952 100644
--- a/mod/dfrn_poll.php
+++ b/mod/dfrn_poll.php
@@ -165,7 +165,7 @@ function dfrn_poll_content(&$a) {
dbesc($last_update)
);
- $r = q("SELECT * FROM `contact` WHERE `issued-id` = '%s' AND `blocked` = 0 LIMIT 1",
+ $r = q("SELECT * FROM `contact` WHERE `issued-id` = '%s' AND `blocked` = 0 AND `pending` = 0 LIMIT 1",
dbesc($_GET['dfrn_id']));
if((! count($r)) || (! strlen($r[0]['prvkey'])))
$status = 1;