DataObjects/Core_project.php
[Pman.Core] / Mailer.php
index 8b7cae0..3588ee4 100644 (file)
@@ -170,8 +170,8 @@ class Pman_Core_Mailer {
             
             // for the html body, we may want to convert the attachments to images.
 //            var_dump($htmlbody);exit;
-            print_R($content);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);
             }
             
@@ -494,7 +494,6 @@ class Pman_Core_Mailer {
     
     function htmlbodySetClass($html, $cls)
     {
-        print_R('run???');exit;
         $dom = new DOMDocument();
         
         @$dom->loadHTML('<?xml encoding="UTF-8">' .$html);