projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c002d03
)
Report/SendEventErrors.php
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Mar 2016 03:59:12 +0000
(11:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Mar 2016 03:59:12 +0000
(11:59 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
f2ba99b
..
d6f2828
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-122,6
+122,14
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$events->whereAddIn('!Events.action', $exclude, 'string');
}
}
+ if(!empty($this->opts['only'])){
+ $only= array_unique(array_filter(array_map('trim', explode(',', $this->opts['only']))));
+
+ if(!empty($only)){
+ $events->whereAddIn('Events.action', $only, 'string');
+ }
+ }
+
$events->groupBy('Events.action');
$events->orderBy('Events.action ASC');