premature removal of queue item

This commit is contained in:
Friendika 2010-11-23 17:08:35 -08:00
parent 9be4b3482e
commit 81e1e4245b
2 changed files with 1 additions and 2 deletions

View file

@ -266,7 +266,6 @@
dbesc($atom)
);
}
break;
default:
if($followup && $contact['notify']) {

View file

@ -62,7 +62,7 @@ function remove_queue_item($id) {
continue;
$c = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1",
intval($q_item['cid'])
intval($qi[0]['cid'])
);
if(! count($c)) {
remove_queue_item($q_item['id']);