projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b91c0d
)
DataObjects/Core_email.php
author
KH Lau
<khlau@roojs.com>
Wed, 10 Jan 2018 10:38:28 +0000
(18:38 +0800)
committer
KH Lau
<khlau@roojs.com>
Wed, 10 Jan 2018 10:38:28 +0000
(18:38 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
365768b
..
414698b
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-312,10
+312,12
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
$this->get('name', $contents['template']);
}
+ var_dump($this->active);exit;
+
if(empty($this->active)){
return $p->raiseError("template [{$contents['template']}] is Disabled");
}
- var_dump($this->id);exit;
+
if(empty($this->id)){
return $p->raiseError("template [{$contents['template']}] has not been set");