DataObjects/Core_email.php
authorjohn <john@roojs.com>
Tue, 9 Jan 2018 14:03:19 +0000 (22:03 +0800)
committerjohn <john@roojs.com>
Tue, 9 Jan 2018 14:03:19 +0000 (22:03 +0800)
DataObjects/Core_email.php

index 8dec723..5d50c0c 100644 (file)
@@ -306,8 +306,6 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
         $p = new PEAR();
         $contents = (array)$obj;
 
-        var_dump($this->id);
-         
         if(empty($this->id) && !empty($contents['template'])){
             $this->get('name', $contents['template']);
         }
@@ -370,6 +368,8 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
             'css_embed' => true, // we should always try and do this with emails...
         );
         
+        var_dump($cfg);
+        
         if (isset($contents['rcpts'])) {
             $cfg['rcpts'] = $contents['rcpts'];
         }