premature removal of queue item
This commit is contained in:
parent
9be4b3482e
commit
81e1e4245b
2 changed files with 1 additions and 2 deletions
|
@ -266,7 +266,6 @@
|
||||||
dbesc($atom)
|
dbesc($atom)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if($followup && $contact['notify']) {
|
if($followup && $contact['notify']) {
|
||||||
|
|
|
@ -62,7 +62,7 @@ function remove_queue_item($id) {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$c = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1",
|
$c = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1",
|
||||||
intval($q_item['cid'])
|
intval($qi[0]['cid'])
|
||||||
);
|
);
|
||||||
if(! count($c)) {
|
if(! count($c)) {
|
||||||
remove_queue_item($q_item['id']);
|
remove_queue_item($q_item['id']);
|
||||||
|
|
Loading…
Reference in a new issue