projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
699d8a4
)
DataObjects/Core_group.php
author
benny
<benny@roojs.com>
Thu, 26 Jul 2018 07:39:32 +0000
(15:39 +0800)
committer
benny
<benny@roojs.com>
Thu, 26 Jul 2018 07:39:32 +0000
(15:39 +0800)
DataObjects/Core_group.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_group.php
b/DataObjects/Core_group.php
index
a3941b7
..
3505fce
100644
(file)
--- a/
DataObjects/Core_group.php
+++ b/
DataObjects/Core_group.php
@@
-61,8
+61,8
@@
class Pman_Core_DataObjects_Core_group extends DB_DataObject
$cgm = DB_DataObject::Factory('core_group_member')->tableName();
$cpObj->active = 1; // set the where condition with active = 1
$cgm = DB_DataObject::Factory('core_group_member')->tableName();
$cpObj->active = 1; // set the where condition with active = 1
- $cgm->joinAdd($cpObj, array('joinType' => 'LEFT', 'useWhereAsOn' => true)
, "user_id"
);
- $core_group->joinAdd($cgm, array('joinType' => 'LEFT', 'useWhereAsOn' => true)
, "id"
);
+ $cgm->joinAdd($cpObj, array('joinType' => 'LEFT', 'useWhereAsOn' => true));
+ $core_group->joinAdd($cgm, array('joinType' => 'LEFT', 'useWhereAsOn' => true));
$core_group->find();
DB_DataObject::debugLevel();
/*$this->selectAdd("
$core_group->find();
DB_DataObject::debugLevel();
/*$this->selectAdd("