diff options
author | Hauke Zuehl <hzuehl@phone-talk.de> | 2012-06-16 18:04:59 +0200 |
---|---|---|
committer | Hauke Zuehl <hzuehl@phone-talk.de> | 2012-06-16 18:04:59 +0200 |
commit | f9a40ccbdea69fc7ffcbdc87356d535c67371210 (patch) | |
tree | 18eca4019eb8e64badb7035ab782b729b706cd64 /include/queue_fn.php | |
parent | 1231dd72f02fdec59b78ed9a6408887c2ae0b8d4 (diff) | |
parent | 4faf0e609fe03095069c7a4bcdfc3496e4a28627 (diff) | |
download | volse-hubzilla-f9a40ccbdea69fc7ffcbdc87356d535c67371210.tar.gz volse-hubzilla-f9a40ccbdea69fc7ffcbdc87356d535c67371210.tar.bz2 volse-hubzilla-f9a40ccbdea69fc7ffcbdc87356d535c67371210.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/queue_fn.php')
-rw-r--r-- | include/queue_fn.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/queue_fn.php b/include/queue_fn.php index 2aca338f5..e43912431 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; } |