projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c959af
)
DataObjects/Core_email.php
author
john
<john@roojs.com>
Tue, 9 Jan 2018 14:07:03 +0000
(22:07 +0800)
committer
john
<john@roojs.com>
Tue, 9 Jan 2018 14:07:03 +0000
(22:07 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
f2bce4c
..
3792aba
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-306,6
+306,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
$p = new PEAR();
$contents = (array)$obj;
$p = new PEAR();
$contents = (array)$obj;
+
if(empty($this->id) && !empty($contents['template'])){
$this->get('name', $contents['template']);
}
if(empty($this->id) && !empty($contents['template'])){
$this->get('name', $contents['template']);
}