From 03c149887b8966707bbb137534a43b4d9aec02ca Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 26 Jun 2013 21:15:50 +0800 Subject: [PATCH] Notify.php --- Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notify.php b/Notify.php index 2fa4af86..f7cbe576 100644 --- a/Notify.php +++ b/Notify.php @@ -166,7 +166,7 @@ class Pman_Core_Notify extends Pman // standard //$w->whereAdd('act_when > sent'); // eg.. sent is not valid.. - $w->whereAdd("sent < '1970-01-01'"); // eg.. sent is not valid.. + $w->whereAdd("sent < '1970-01-01' OR sent IS NULL"); // eg.. sent is not valid.. $w->whereAdd('act_start > NOW() - INTERVAL 14 DAY'); // ignore the ones stuck in the queue if (!$this->force) { -- 2.39.2