From 8fa163d362d423fd37f7bcbe103a61c296eb2339 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 27 Oct 2016 10:42:25 +0800 Subject: [PATCH] NotifySend.php --- NotifySend.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NotifySend.php b/NotifySend.php index bc29b8be..87049622 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -460,7 +460,10 @@ class Pman_Core_NotifySend extends Pman $ev->writeEventLog($this->debug_str); - $w->act_when = date('Y-m-d H:i:s'); + if(strtotime($w->act_when) > strtotime("NOW")){ + + } + $w->sent = date('Y-m-d H:i:s'); $w->msgid = $email['headers']['Message-Id']; $w->event_id = $ev->id; // sent ok.. - no need to record it.. -- 2.39.2