* Fix bug #21403,21474,21410,21414,21417,21456.
This commit is contained in:
@@ -158,6 +158,7 @@ class groupModel extends model
|
||||
->on('t1.`group` = t2.id')
|
||||
->where('t1.account')->eq($account)
|
||||
->andWhere('t2.project')->eq(0)
|
||||
->andWhere('t2.vision')->eq($this->config->vision)
|
||||
->fetchAll('id');
|
||||
}
|
||||
|
||||
@@ -174,6 +175,7 @@ class groupModel extends model
|
||||
->leftJoin(TABLE_GROUP)->alias('t2')
|
||||
->on('t1.`group` = t2.id')
|
||||
->where('t1.account')->in($accounts)
|
||||
->andWhere('t2.vision')->eq($this->config->vision)
|
||||
->fetchGroup('account');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user