projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5566619
)
DataObjects/Core_email.php
author
Edward
<edward@roojs.com>
Fri, 21 Feb 2014 08:30:17 +0000
(16:30 +0800)
committer
Edward
<edward@roojs.com>
Fri, 21 Feb 2014 08:30:17 +0000
(16:30 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
c227827
..
157720d
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-203,12
+203,14
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
}
function send($obj)
- {
- $
this->get('name', 'REGISTER')
;
+ {
+ $
contents = (array)$obj
;
-
print_r($this);exit
;
+
$this->get('name', $contents['template'])
;
- $contents = (array)$obj;
+ if(empty($this->id)){
+ return false;
+ }
$contents['subject'] = $this->subject;