From: Edward Date: Tue, 24 Jul 2018 05:31:34 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=72532a2a8f62944c0b0bc2e78500fe441e91a313 Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 39f76ef3..832b6b95 100644 --- a/Mailer.php +++ b/Mailer.php @@ -321,9 +321,8 @@ class Pman_Core_Mailer { $pg = $ff->page; - $ts = microtime(true); $email = is_array($email) ? $email : $this->toData(); - print_r(microtime(true) - $ts);exit; + if (is_a($email, 'PEAR_Error')) { $pg->addEvent("COREMAILER-FAIL", false, "email toData failed");