projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3479f3
)
Report/SendEventErrors.php
author
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:31:46 +0000
(12:31 +0800)
committer
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:31:46 +0000
(12:31 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
27562ec
..
3e639ae
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-131,7
+131,20
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$list = $events->fetchAll();
+ $content = array(
+ 'template' => 'HYDRA_ADMIN_ORDER_NOTIFICATION',
+ 'rcpts' => $rcpts,
+ 'list' => $list,
+ 'subject' => $subject
+ );
+
+ $sent = DB_DataObject::factory('core_email')->send($content);
+
+ if(!is_object($sent)){
+ return true;
+ }
+ return false;
$this->jok("Done");