This commit is contained in:
Sara Arjona 2023-10-18 19:55:42 +02:00
commit 298d136e98
No known key found for this signature in database

View File

@ -1371,7 +1371,8 @@ function groups_get_members_join($groupids, $useridcolumn, context $context = nu
[$visibilitywhere, $visibilityparams] = \core_group\visibility::sql_member_visibility_where(
$prefix . 'g2',
$prefix . 'gm2',
$ualias
$ualias,
$prefix . 'param_'
);
$where .= ' AND ' . $visibilitywhere;
$param = array_merge($param, $visibilityparams);