From: john Date: Thu, 11 Jan 2018 08:38:27 +0000 (+0800) Subject: DataObjects/Core_email.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2b45d379b802521403bd26ff078f6803259d2bfa DataObjects/Core_email.php --- diff --git a/DataObjects/Core_email.php b/DataObjects/Core_email.php index a8b7c6c2..bf14668b 100644 --- a/DataObjects/Core_email.php +++ b/DataObjects/Core_email.php @@ -345,8 +345,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']);