X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fqueue_fn.php;h=e43912431c762fff263432701f0c02f914457df8;hb=cef516956799589c7a7a17c57e7576a87047418f;hp=2aca338f50d4e250707dbedf6e046d159c711281;hpb=78429926bcf1ab7e8a4d35d0093ba666b3568708;p=friendica.git diff --git a/include/queue_fn.php b/include/queue_fn.php index 2aca338f50..e43912431c 100644 --- a/include/queue_fn.php +++ b/include/queue_fn.php @@ -23,6 +23,13 @@ function was_recently_delayed($cid) { ); if(count($r)) return true; + + $r = q("select `term-date` from contact where id = %d and `term-date` != '' and `term-date` != '0000-00-00 00:00:00' limit 1", + intval($cid) + ); + if(count($r)) + return true; + return false; }