projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92e52e
)
DataObjects/Core_email.php
author
KH Lau
<khlau@roojs.com>
Wed, 10 Jan 2018 10:40:49 +0000
(18:40 +0800)
committer
KH Lau
<khlau@roojs.com>
Wed, 10 Jan 2018 10:40:49 +0000
(18:40 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
9c48d6e
..
bf05c51
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-311,8
+311,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
if(empty($this->id) && !empty($contents['template'])){
$this->get('name', $contents['template']);
}
-
- var_dump($contents['template']);exit;
+
if(empty($this->active)){
return $p->raiseError("template [{$contents['template']}] is Disabled");