projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225de1b
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Wed, 11 Apr 2018 06:40:00 +0000
(14:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 11 Apr 2018 06:40:00 +0000
(14:40 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
5fa0108
..
3588ee4
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-171,7
+171,7
@@
class Pman_Core_Mailer {
// for the html body, we may want to convert the attachments to images.
// var_dump($htmlbody);exit;
- if(
$content->body_cls
&& strlen($content->body_cls)){
+ if(
!empty($content->body_cls)
&& strlen($content->body_cls)){
$htmlbody = $this->htmlbodySetClass($htmlbody, $content->body_cls);
}