From: Alan Knowles Date: Thu, 11 Jun 2015 05:42:28 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=b9094e6a65a7c3159fc1a8b07e33a0948ab34c1f NotifySend.php --- 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;