projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c30b2
)
DataObjects/Core_email.php
author
Micheal
<micheal@roojs.com>
Fri, 2 Jan 2015 07:26:27 +0000
(15:26 +0800)
committer
Micheal
<micheal@roojs.com>
Fri, 2 Jan 2015 07:26:27 +0000
(15:26 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
e431f05
..
46eba67
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-282,7
+282,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
function send($obj, $force = true, $send = true)
{
$contents = (array)$obj;
- error_log($this->id);
+
if(empty($this->id)){
$this->get('name', $contents['template']);
}