diff --git a/include/notifier.php b/include/notifier.php index 871027418..8af67898c 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 7df510ef4..97187d125 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']);