From: edward Date: Fri, 5 Feb 2016 04:25:42 +0000 (+0800) Subject: Report/SendEventErrors.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=458e0d4ce8e37a9070d6cc567baba3e1d5ad56d2 Report/SendEventErrors.php --- diff --git a/Report/SendEventErrors.php b/Report/SendEventErrors.php index 41d3930..52607aa 100644 --- a/Report/SendEventErrors.php +++ b/Report/SendEventErrors.php @@ -118,12 +118,13 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo $events->whereAdd("Events.event_when > NOW() - INTERVAL 1 DAY"); + $exclude = array_unique(array_filter(array_map('trim', explode(',', $this->opts['exclude'])))); + if(!empty($exclude)){ $events->whereAddIn('!Events.action', $exclude, 'string'); } - $events->groupBy('Events.action'); - $events->orderBy('Events.action ASC'); + print_R($exclude);exit; $this->jok("Done");