mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-33063' of git://github.com/srynot4sale/moodle
This commit is contained in:
commit
108526897d
@ -1070,7 +1070,7 @@ function get_array_of_activities($courseid) {
|
||||
return $mod; // always return array
|
||||
}
|
||||
|
||||
if ($sections = $DB->get_records("course_sections", array("course"=>$courseid), "section ASC")) {
|
||||
if ($sections = get_all_sections($courseid)) {
|
||||
foreach ($sections as $section) {
|
||||
if (!empty($section->sequence)) {
|
||||
$sequence = explode(",", $section->sequence);
|
||||
|
Loading…
x
Reference in New Issue
Block a user