aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-23 17:08:35 -0800
committerFriendika <info@friendika.com>2010-11-23 17:08:35 -0800
commit81e1e4245b54604bf6b89ceb91f2e5e1128a317a (patch)
treec25c76d72fcff65465c5bae53340541d0436d942 /include
parent9be4b3482ed48ecd930105aec00a985cfee184ee (diff)
downloadvolse-hubzilla-81e1e4245b54604bf6b89ceb91f2e5e1128a317a.tar.gz
volse-hubzilla-81e1e4245b54604bf6b89ceb91f2e5e1128a317a.tar.bz2
volse-hubzilla-81e1e4245b54604bf6b89ceb91f2e5e1128a317a.zip
premature removal of queue item
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php1
-rw-r--r--include/queue.php2
2 files changed, 1 insertions, 2 deletions
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']);