projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a77004
)
DataObjects/Core_email.php
author
KH Lau
<khlau@roojs.com>
Wed, 7 Feb 2018 07:58:20 +0000
(15:58 +0800)
committer
KH Lau
<khlau@roojs.com>
Wed, 7 Feb 2018 07:58:20 +0000
(15:58 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
2144a68
..
64523ee
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-80,7
+80,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
$c->whereAdd("group_id = {$this->to_group}");
print_r($request['_ignore_group_count']);
print_r($c->count());exit;
- if (
$c->count() && empty($request['_ignore_group_count'])
) {
+ if (
!$c->count() && !$request['_ignore_group_count']
) {
$roo->jerr('no_member',array('errcode'=> 100));
}
}