From 458e0d4ce8e37a9070d6cc567baba3e1d5ad56d2 Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 5 Feb 2016 12:25:42 +0800 Subject: [PATCH] Report/SendEventErrors.php --- Report/SendEventErrors.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"); -- 2.39.2