projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c786264
)
Report/SendEventErrors.php
author
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:17:18 +0000
(12:17 +0800)
committer
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:17:18 +0000
(12:17 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
24be790
..
52e9cfb
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-89,15
+89,17
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$subject = array();
-// if(!empty($this->opts['subject'])){
-// $subject[] = $this->opts['subject'];
-// }
-
foreach ($totals as $k => $v){
$subject[] = "{$v} {$k}";
}
- print_R($subject);exit;
+ $subject = implode(', ', $subject);
+
+ if(!empty($this->opts['subject'])){
+ $subject = "{$this->opts['subject']} $subject";
+ }
+
+ print_r($subject);exit;
$this->jok("Done");