DataObjects/Core_email.php
[Pman.Core] / DataObjects / Core_email.php
index a8b7c6c..ee2ae83 100644 (file)
@@ -306,6 +306,8 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
         $p = new PEAR();
         $contents = (array)$obj;
         
+        var_dump($content);
+        
         if(empty($this->id) && !empty($contents['template'])){
             $this->get('name', $contents['template']);
         }
@@ -345,8 +347,7 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
         if(empty($contents['subject'])){
            $contents['subject'] = $this->subject; 
         }
-        var_dump('here???');exit;
-        
+
         if (!empty($content['subject_replace'])) {
             foreach ($content['mapping'] as $pattern => $replace) {
                 $content['subject'] = preg_replace($pattern,$replace,$content['subject']);