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

This commit is contained in:
Paul Holden
2020-07-07 14:37:23 +01:00
parent 44ffa8a801
commit 4a16804df7
+1 -1
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);