projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65bc97
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Tue, 13 Aug 2013 04:49:15 +0000
(12:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 13 Aug 2013 04:49:15 +0000
(12:49 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
cc74af3
..
b62ed9a
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-116,11
+116,11
@@
class Pman_Core_Mailer {
}
$htmlbody = false;
-
-
+ $html_tmp_opts = $tmp_opts;
+ $htmltemplate = new HTML_Template_Flexy( $html_tmp_opts );
if (is_string($htmltemplate->resolvePath('mail/'.$templateFile.'.body.html')) ) {
// then we have a multi-part email...
- $html_tmp_opts = $tmp_opts;
+
if (!empty($this->html_locale)) {
$html_tmp_opts['locale'] = $this->html_locale;
}