Notify.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 8 Nov 2012 14:01:53 +0000 (22:01 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 8 Nov 2012 14:01:53 +0000 (22:01 +0800)
Notify.php

index 15bbc7a..ad06b16 100644 (file)
@@ -126,7 +126,9 @@ class Pman_Core_Notify extends Pman
             
             // standard
             
-            $w->whereAdd('act_when > sent'); // eg.. sent is not valid..
+            //$w->whereAdd('act_when > sent'); // eg.. sent is not valid..
+            $w->whereAdd("sent < '1970-01-01'"); // eg.. sent is not valid..
+            
             $w->whereAdd('act_start > NOW() - INTERVAL 14 DAY'); // ignore the ones stuck in the queue
             if (!$this->force) {
                 $w->whereAdd('act_when < NOW()'); // eg.. not if future..