projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aa7d5c2
)
NotifySend.php
author
edward
<edward@roojs.com>
Wed, 13 Sep 2017 05:22:58 +0000
(13:22 +0800)
committer
edward
<edward@roojs.com>
Wed, 13 Sep 2017 05:22:58 +0000
(13:22 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
f6cc95f
..
5cd8e18
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-549,7
+549,7
@@
class Pman_Core_NotifySend extends Pman
// handle no host availalbe forever...
if (strtotime($w->act_start) < strtotime('NOW - 3 DAYS')) {
$ev = $this->addEvent('NOTIFY', $w, "RETRY TIME EXCEEDED - ". $p->email);
// handle no host availalbe forever...
if (strtotime($w->act_start) < strtotime('NOW - 3 DAYS')) {
$ev = $this->addEvent('NOTIFY', $w, "RETRY TIME EXCEEDED - ". $p->email);
- $w->sent =
$w->sent == '0000-00-00 00:00:00' ? $w->sqlValue('NOW()') :
$w->sent; // do not update if sent.....
+ $w->sent =
(!$w->sent || $w->sent == '0000-00-00 00:00:00') ? $w->sqlValue('NOW()') :
$w->sent; // do not update if sent.....
$w->msgid = '';
$w->event_id = $ev->id;
$w->domain_id = $core_domain->id;
$w->msgid = '';
$w->event_id = $ev->id;
$w->domain_id = $core_domain->id;