MDL-19567 Correctly ordering imported courses by sortorder (previously not ordered explicitly). Merged from MOODLE_19_STABLE
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
$taught_courses = array();
|
||||
if (!empty($tcourseids)) {
|
||||
$taught_courses = $DB->get_records_list('course', 'id', $tcourseids);
|
||||
$taught_courses = $DB->get_records_list('course', 'id', $tcourseids, 'sortorder');
|
||||
}
|
||||
|
||||
if (!empty($creator)) {
|
||||
|
||||
Reference in New Issue
Block a user