more sender fixes
authorAlan <alan@roojs.com>
Mon, 6 Nov 2023 02:44:34 +0000 (10:44 +0800)
committerAlan <alan@roojs.com>
Mon, 6 Nov 2023 02:44:34 +0000 (10:44 +0800)
DataObjects/Core_notify_sender.php

index 0e321b3..a140c96 100644 (file)
@@ -77,7 +77,7 @@ class Pman_Core_DataObjects_Core_notify_sender extends DB_DataObject
         
         $ns = DB_DataObject::Factory($this->tableName());
         $ns->setFrom(array(
-            'email' => $from,
+            'domain_id' => $to_dom->id,
             'is_active' => 1,
         ));
         $ns->whereAddIn('!id', $bad_ids, 'int');