aboutsummaryrefslogtreecommitdiffstats
path: root/include/delivery.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/delivery.php')
-rw-r--r--include/delivery.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/delivery.php b/include/delivery.php
index 0df8ea7e4..1f5883c26 100644
--- a/include/delivery.php
+++ b/include/delivery.php
@@ -37,6 +37,12 @@ function delivery_run($argv, $argc){
$item_id = intval($argv[2]);
$contact_id = intval($argv[3]);
+ q("delete from deliverq where cmd = '%s' and item = %d and contact = %d limit 1",
+ dbesc($cmd),
+ dbesc($item_id),
+ dbesc($contact_id)
+ );
+
if((! $item_id) || (! $contact_id))
return;