projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd4669
)
Mailer.php
author
Edward
<edward@roojs.com>
Tue, 14 Oct 2014 04:59:41 +0000
(12:59 +0800)
committer
Edward
<edward@roojs.com>
Tue, 14 Oct 2014 04:59:41 +0000
(12:59 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
1fef509
..
43c9351
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-269,9
+269,9
@@
class Pman_Core_Mailer {
$pg = HTML_FlexyFramework::get()->page;
- print_R($email);
- print_R('run');exit;
+
$email = is_array($email) ? $email : $this->toData();
+ print_R($email);exit;
if (is_a($email, 'PEAR_Error')) {
$pg->addEvent("COREMAILER-FAIL", false, "email toData failed");