projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6d49f0
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Tue, 13 Aug 2013 04:42:32 +0000
(12:42 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 13 Aug 2013 04:42:32 +0000
(12:42 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
6e0090f
..
9107afa
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-120,7
+120,10
@@
class Pman_Core_Mailer {
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;
+ }
$htmltemplate->compile('mail/'. $templateFile.'.body.html');
$htmlbody = $htmltemplate->bufferedOutputObject($content);