projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c95867f
)
DataObjects/Core_email.php
author
Alan Knowles
<alan@roojs.com>
Wed, 14 Mar 2018 09:51:31 +0000
(17:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 14 Mar 2018 09:51:31 +0000
(17:51 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
1379b79
..
929e608
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-21,7
+21,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
public $owner_id;
public $is_system;
public $active;
public $owner_id;
public $is_system;
public $active;
- public $bcc_group;
+ public $bcc_group
_id
;
public $test_class;
public $test_class;
@@
-362,8
+362,8
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
// fill in BCC
// fill in BCC
- if (!empty($this->bcc_group) && empty($contents['rcpts_group'])) {
- $admin = DB_DAtaObject::Factory('core_group')->lookupMembersByGroupId($this->bcc_group,'email');
+ if (!empty($this->bcc_group
_id
) && empty($contents['rcpts_group'])) {
+ $admin = DB_DAtaObject::Factory('core_group')->lookupMembersByGroupId($this->bcc_group
_id
,'email');
if (empty($admin)) {
return $p->raiseError("template [{$contents['template']}] - bcc group is empty");
if (empty($admin)) {
return $p->raiseError("template [{$contents['template']}] - bcc group is empty");