Merge branch 'MDL-84112-main-fix_bigbluebutton_defaultcompletion_performance' of https://github.com/praxisdigital/moodle
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user