projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5c9c81d
)
DataObjects/Core_email.php
author
john
<john@roojs.com>
Thu, 11 Jan 2018 04:46:06 +0000
(12:46 +0800)
committer
john
<john@roojs.com>
Thu, 11 Jan 2018 04:46:06 +0000
(12:46 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
06e6dd2
..
3f2b529
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-305,7
+305,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
$p = new PEAR();
$contents = (array)$obj;
-
+
if(empty($this->id) && !empty($contents['template'])){
$this->get('name', $contents['template']);
}