diff --git a/user/classes/table/participants_search.php b/user/classes/table/participants_search.php index 7946247f96b..79a7137f46c 100644 --- a/user/classes/table/participants_search.php +++ b/user/classes/table/participants_search.php @@ -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);