From b9094e6a65a7c3159fc1a8b07e33a0948ab34c1f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Jun 2015 13:42:28 +0800 Subject: [PATCH] NotifySend.php --- NotifySend.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NotifySend.php b/NotifySend.php index 69d1d57b..d06d42af 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -106,6 +106,11 @@ class Pman_Core_NotifySend extends Pman } if (!empty($opts['debug'])) { print_r($w); + $ff = HTML_FlexyFramework::get(); + if (!isset($ff->Core_Mailer)) { + $ff->Core_Mailer = array(); + } + HTML_FlexyFramework::get()->Core_Mailer['debug'] = true; } $sent = (empty($w->sent) || preg_match('/^0000/', $w->sent)) ? false : true; -- 2.39.2