From 81e1e4245b54604bf6b89ceb91f2e5e1128a317a Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 23 Nov 2010 17:08:35 -0800 Subject: [PATCH] premature removal of queue item --- include/notifier.php | 1 - include/queue.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/notifier.php b/include/notifier.php index 8710274185..8af67898c7 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -266,7 +266,6 @@ dbesc($atom) ); } - break; default: if($followup && $contact['notify']) { diff --git a/include/queue.php b/include/queue.php index 7df510ef43..97187d1259 100644 --- a/include/queue.php +++ b/include/queue.php @@ -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']);