projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf8f5a
)
Report/SendEventErrors.php
author
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:00:31 +0000
(12:00 +0800)
committer
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:00:31 +0000
(12:00 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
b2de1f8
..
30872f8
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-51,7
+51,7
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$events->selectAdd();
$events->selectAdd("
DISTINCT(Events.action) AS action,
- COUNT(Events.id) AS
count
+ COUNT(Events.id) AS
total
");
$events->whereAdd("Events.event_when > NOW() - INTERVAL 1 DAY");
@@
-59,7
+59,7
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$events->groupBy('Events.action');
$events->orderBy('Events.action ASC');
- print_r($events->fetchAll());exit;
+ print_r($events->fetchAll(
'action', 'total'
));exit;
$this->jok("Done");