MDL-69214 user: correct participant table forced group SQL.

This commit is contained in:
Paul Holden 2020-07-07 14:29:34 +01:00
parent 49a9e8b07d
commit ca02422d66

View file

@ -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);