X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fqueue_fn.php;h=e43912431c762fff263432701f0c02f914457df8;hb=fc27edb6d76765cd9b85d29a3c41f23f17c6ca41;hp=2aca338f50d4e250707dbedf6e046d159c711281;hpb=f0b7a8ae35c67f2440c3c3574451f52e5126fa68;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; }