From e804a10c9828591cc4555ab8b1d8a206d2f99ca4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 11 Apr 2018 14:40:00 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailer.php b/Mailer.php index 5fa0108c..3588ee47 100644 --- 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); } -- 2.39.2