Merge branch 'MDL-84112-main-fix_bigbluebutton_defaultcompletion_performance' of https://github.com/praxisdigital/moodle

This commit is contained in:
Andrew Nicols
2025-03-25 10:54:29 +08:00
@@ -219,8 +219,15 @@ class roles {
];
$data['user'] = [
'name' => get_string('mod_form_field_participant_list_type_user', 'bigbluebuttonbn'),
'children' => self::get_users_array($context, $bbactivity),
'children' => [],
];
if (empty($bbactivity)) {
return $data;
}
$data['user']['children'] = self::get_users_array($context, $bbactivity);
return $data;
}