mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-36095 Section availability: Make behaviour consistent with activities
This commit is contained in:
parent
10ad21dc9a
commit
b12d8cd881
3 changed files with 45 additions and 19 deletions
|
@ -57,7 +57,7 @@ if (!empty($CFG->enableavailability)) {
|
|||
}
|
||||
|
||||
$mform = new editsection_form($PAGE->url, array('course' => $course, 'editoroptions' => $editoroptions,
|
||||
'cs' => $section, 'showavailability' => $section->showavailability));
|
||||
'cs' => $section));
|
||||
$mform->set_data($section); // set current value
|
||||
|
||||
$returnurl = course_get_url($course, $sectionreturn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue