From: Alan Knowles Date: Mon, 15 Jan 2018 07:33:22 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=469ca0a3b31f81abe6799bc06ebe1aa500ef6687 NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index 5cd8e187..7f1ab0ed 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -622,7 +622,10 @@ class Pman_Core_NotifySend extends Pman return $object->$m($rcpt, $last_sent_date, $notify, $force); } - if (!method_exists($object, 'toEmail')) { + if (method_exists($object, 'toMailerData')) { + return $object->toMailerData(array( + 'rcpts'=>$rcpt, + )); //this is core_email - i think it's only used for testing... //var_Dump($object); //exit; }