From 70345066e5f2bf9aed82a3bed3dd59161d7c065c Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 5 Feb 2016 12:39:26 +0800 Subject: [PATCH] Report/SendEventErrors.php --- Report/SendEventErrors.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Report/SendEventErrors.php b/Report/SendEventErrors.php index 24ef281..0cd0b0d 100644 --- a/Report/SendEventErrors.php +++ b/Report/SendEventErrors.php @@ -141,12 +141,10 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo $sent = DB_DataObject::factory('core_email')->send($content); if(!is_object($sent)){ - return true; + $this->jok("Done"); } - return false; - - $this->jok("Done"); + $this->jerr($sent); } -- 2.39.2