Merge branch 'mdl-80576_master' of https://github.com/james-cnz/moodle

This commit is contained in:
Sara Arjona
2024-02-08 15:32:27 +08:00
committed by Andrew Nicols
+1 -1
View File
@@ -3406,7 +3406,7 @@ class section_info implements IteratorAggregate {
}
$ret['sequence'] = $this->get_sequence();
$ret['course'] = $this->get_course();
$ret = array_merge($ret, course_get_format($this->modinfo->get_course())->get_format_options($this->_sectionnum));
$ret = array_merge($ret, course_get_format($this->modinfo->get_course())->get_format_options($this));
return new ArrayIterator($ret);
}