]> git.mxchange.org Git - friendica.git/commitdiff
premature removal of queue item
authorFriendika <info@friendika.com>
Wed, 24 Nov 2010 01:08:35 +0000 (17:08 -0800)
committerFriendika <info@friendika.com>
Wed, 24 Nov 2010 01:08:35 +0000 (17:08 -0800)
include/notifier.php
include/queue.php

index 8710274185a8640f53dfcf12998df283478dbc30..8af67898c78aa0fa69e59e6bf3c05e992d84a9e0 100644 (file)
                                                dbesc($atom)
                                        );
                                }
-
                                break;
                        default:
                                if($followup && $contact['notify']) {
index 7df510ef43226d27ca3bf0b03915212846a1d4a7..97187d1259792febd9b64ba8db60f6afed2ff218 100644 (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']);