projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efcdcc4
)
DataObjects/Core_email.php
author
Edward
<edward@roojs.com>
Mon, 24 Feb 2014 03:24:27 +0000
(11:24 +0800)
committer
Edward
<edward@roojs.com>
Mon, 24 Feb 2014 03:24:27 +0000
(11:24 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
44a8475
..
92a236c
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");
}