Report/SendEventErrors.php
[Pman.Admin] / Report / SendEventErrors.php
index 24ef281..0cd0b0d 100644 (file)
@@ -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);
         
     }