From 469ca0a3b31f81abe6799bc06ebe1aa500ef6687 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 15 Jan 2018 15:33:22 +0800 Subject: [PATCH] NotifySend.php --- NotifySend.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.2