more bugs

This commit is contained in:
Mike Macgirvin 2010-07-19 06:58:03 -07:00
commit 6695b4a203
13 changed files with 25 additions and 25 deletions

View file

@ -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;