projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
82f93b0
)
DataObjects/Core_email.php
author
john
<john@roojs.com>
Thu, 11 Jan 2018 08:37:47 +0000
(16:37 +0800)
committer
john
<john@roojs.com>
Thu, 11 Jan 2018 08:37:47 +0000
(16:37 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
9662968
..
f5c8f00
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-347,6
+347,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
}
if (!empty($content['subject_replace'])) {
}
if (!empty($content['subject_replace'])) {
+ var_dump('replace');
foreach ($content['mapping'] as $pattern => $replace) {
$content['subject'] = preg_replace($pattern,$replace,$content['subject']);
}
foreach ($content['mapping'] as $pattern => $replace) {
$content['subject'] = preg_replace($pattern,$replace,$content['subject']);
}