From: edward Date: Wed, 26 Oct 2016 06:48:02 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a61a313b2c510e8003f85dffe7378ffefe9c3eb2 NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index 9387dca7..4851828e 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -355,7 +355,7 @@ class Pman_Core_NotifySend extends Pman $fail = false; require_once 'Mail.php'; - DB_DataObject::factory(5); + $core_domain = DB_DataObject::factory('core_domain'); if(!$core_domain->get('domain', $dom)){ $core_domain = DB_DataObject::factory('core_domain');