aboutsummaryrefslogtreecommitdiffstats
path: root/include/queue.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/queue.php')
-rw-r--r--include/queue.php2
1 files changed, 1 insertions, 1 deletions
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']);