fix message id storage
authorAlan <alan@roojs.com>
Fri, 13 Oct 2023 04:36:55 +0000 (12:36 +0800)
committerAlan <alan@roojs.com>
Fri, 13 Oct 2023 04:36:55 +0000 (12:36 +0800)
DataObjects/Core_notify.php
NotifySend.php

index 0998632..0997d37 100644 (file)
@@ -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);
     }
index 34318c0..6c2a3a8 100644 (file)
@@ -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..