MDL-74726 mod_bigbluebuttonbn: Fix muteonstart

Added missing muteonstart_editable in mod_form  block condition
This commit is contained in:
Shamiso.Jaravaza 2022-05-11 08:29:16 -06:00
parent 941a29925e
commit 41f40c7d7a

View File

@ -534,7 +534,7 @@ class mod_bigbluebuttonbn_mod_form extends moodleform_mod {
*/
private function bigbluebuttonbn_mform_add_block_room(MoodleQuickForm &$mform, array $cfg) {
if ($cfg['voicebridge_editable'] || $cfg['waitformoderator_editable'] ||
$cfg['userlimit_editable'] || $cfg['recording_editable']) {
$cfg['userlimit_editable'] || $cfg['recording_editable'] || $cfg['muteonstart_editable']) {
$mform->addElement('header', 'room', get_string('mod_form_block_room', 'bigbluebuttonbn'));
$this->bigbluebuttonbn_mform_add_block_room_room($mform, $cfg);
}