projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8281dc
)
DataObjects/Core_email.php
author
Edward
<edward@roojs.com>
Mon, 24 Feb 2014 03:25:08 +0000
(11:25 +0800)
committer
Edward
<edward@roojs.com>
Mon, 24 Feb 2014 03:25:08 +0000
(11:25 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
92a236c
..
44a8475
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-265,7
+265,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
if(empty($this->id)){
$this->get('name', $contents['template']);
}
- return PEAR::raiseError("template [{$contents['template']}]has not been set");
+
if(empty($this->id)){
return PEAR::raiseError("template [{$contents['template']}]has not been set");
}