Report/SendEventErrors.php
authoredward <edward@roojs.com>
Fri, 5 Feb 2016 04:06:58 +0000 (12:06 +0800)
committeredward <edward@roojs.com>
Fri, 5 Feb 2016 04:06:58 +0000 (12:06 +0800)
Report/SendEventErrors.php

index 41c458e..5868e00 100644 (file)
@@ -65,7 +65,10 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
         
         if(!empty($this->opts['exclude'])){
             $exclude = array_unique(array_filter(array_map('trim', explode(',', $this->opts['exclude']))));
-            print_r($exclude);exit;
+            
+            if(!empty($exclude)){
+                $events->whereAddIn('!Events.action', $exclude, 'string');
+            }
         }
         
         $events->groupBy('Events.action');