NotifySend.php
authorAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 15:42:28 +0000 (23:42 +0800)
committerAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 15:42:28 +0000 (23:42 +0800)
NotifySend.php

index 104f320..c5e3689 100644 (file)
@@ -85,8 +85,12 @@ class Pman_Core_NotifySend extends Pman
             }
             if ($code == 451) {
                 // try again later..
+                // check last event for this item..
+                
                 $this->addEvent('NOTIFY', $w, 'GREYLISTED');
-                $w->act_when = strtotime('NOW + 5 MINUTES');
+                
+                $w->act_when = date('Y-m-d H:i:s', strtotime('NOW + 5 MINUTES'));
+                
                 
             }
             // fail.. = log and give up..