From 063c4bdf724f73daa014d0aca06c26584b3fa838 Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 13 Oct 2023 12:36:55 +0800 Subject: [PATCH] fix message id storage --- DataObjects/Core_notify.php | 2 +- NotifySend.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 09986327..0997d37e 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -352,7 +352,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject $this->act_when = $this->sqlValue('NOW()'); } $this->sent = $this->sent == '0000-00-00 00:00:00' ? $this->sqlValue('NOW()') :$this->sent; // do not update if sent..... - $this->msgid = ''; + $this->msgid = $msgid; $this->event_id = $event->id; $this->update($ww); } diff --git a/NotifySend.php b/NotifySend.php index 34318c04..6c2a3a8b 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -446,7 +446,7 @@ class Pman_Core_NotifySend extends Pman $ev->writeEventLog($this->debug_str); - $w->flagDone($ev,$email['headers']['Message-Id']); + $w->flagDone($ev, $email['headers']['Message-Id']); // enable cc in notify.. -- 2.39.2