From: Alan Date: Mon, 6 Nov 2023 02:44:34 +0000 (+0800) Subject: more sender fixes X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e9764a99c133e3d2fc7374a2c46a031114d633dc more sender fixes --- diff --git a/DataObjects/Core_notify_sender.php b/DataObjects/Core_notify_sender.php index 0e321b34..a140c96e 100644 --- a/DataObjects/Core_notify_sender.php +++ b/DataObjects/Core_notify_sender.php @@ -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');