mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-69214 user: correct participant table forced group SQL.
This commit is contained in:
parent
49a9e8b07d
commit
ca02422d66
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ class participants_search {
|
|||
$forcedgroupjoin = groups_get_members_join($allowedgroupids, $forceduid, $this->context, $forcedjointype);
|
||||
|
||||
$forcedjoins[] = $forcedgroupjoin->joins;
|
||||
$forcedwhere .= "AND ({$forcedgroupjoin->wheres})";
|
||||
$forcedwhere .= " AND ({$forcedgroupjoin->wheres})";
|
||||
|
||||
$params = array_merge($params, $forcedgroupjoin->params);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue