From 009b21a43666a1ebd1000d71ff909bd9e349b087 Mon Sep 17 00:00:00 2001 From: edward Date: Mon, 26 Mar 2018 14:04:02 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mailer.php b/Mailer.php index 7e4e80e8..00950c3e 100644 --- a/Mailer.php +++ b/Mailer.php @@ -87,7 +87,6 @@ class Pman_Core_Mailer { var $bcc = false; function __construct($args) { - print_R($args);exit; foreach($args as $k=>$v) { // a bit trusting.. $this->$k = $v; @@ -180,7 +179,7 @@ class Pman_Core_Mailer { if ($this->css_embed) { $htmlbody = $this->htmlbodyCssEmbed($htmlbody); } - print_R($this);exit; + if ($this->css_inline && strlen($this->css_inline)) { $htmlbody = $this->htmlbodyInlineCss($htmlbody); } -- 2.39.2