projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8303587
)
NotifySend.php
author
Alan Knowles
<alan@roojs.com>
Fri, 4 Aug 2017 06:51:41 +0000
(14:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 Aug 2017 06:51:41 +0000
(14:51 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
281d3c0
..
842dde0
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-350,7
+350,7
@@
class Pman_Core_NotifySend extends Pman
$w->to_email = $p->email;
//$this->addEvent('NOTIFY', $w, 'GREYLISTED ' . $p->email . ' ' . $res->toString());
- $w->act_when =
date('Y-m-d H:i:s', strtotime('NOW + ' . $retry . ' MINUTES'))
;
+ $w->act_when =
$w->sent == '0000-00-00 00:00:00' ? date('Y-m-d H:i:s', strtotime('NOW + ' . $retry . ' MINUTES')) : $w->act_when
;
$w->update($ww);
$ww = clone($w);