aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/queue_fn.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/queue_fn.php b/include/queue_fn.php
index 613571c84..2aca338f5 100644
--- a/include/queue_fn.php
+++ b/include/queue_fn.php
@@ -21,7 +21,9 @@ function was_recently_delayed($cid) {
and last > UTC_TIMESTAMP() - interval 15 minute limit 1",
intval($cid)
);
-
+ if(count($r))
+ return true;
+ return false;
}