Report/SendEventErrors.php
authorAlan Knowles <alan@roojs.com>
Thu, 24 Mar 2016 04:06:54 +0000 (12:06 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 Mar 2016 04:06:54 +0000 (12:06 +0800)
Report/SendEventErrors.php

index fcf16bd..bc49e2e 100644 (file)
@@ -180,6 +180,9 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
         if(!empty($exclude)){
             $events->whereAddIn('!Events.action', $exclude, 'string');
         }
+        if(!empty($only)){
+            $events->whereAddIn('Events.action', $only, 'string');
+        }
         
         if(!$events->count()){
             $this->jerr('Nothing to be sent');