Merge branch 'MDL-72706-master' of git://github.com/aanabit/moodle

This commit is contained in:
Shamim Rezaie 2021-10-18 17:19:10 +11:00
commit 20d9ea7e05
7 changed files with 10 additions and 9 deletions

View file

@ -109,7 +109,7 @@ if ($hassiteconfig or has_any_capability($capabilities, $systemcontext)) {
$choices['0'] = new lang_string('hiddensectionscollapsed');
$choices['1'] = new lang_string('hiddensectionsinvisible');
$temp->add(new admin_setting_configselect('moodlecourse/hiddensections', new lang_string('hiddensections'),
new lang_string('coursehelphiddensections'), 0, $choices));
new lang_string('coursehelphiddensections'), 1, $choices));
$choices = array();
$choices[COURSE_DISPLAY_SINGLEPAGE] = new lang_string('coursedisplay_single');