Skip to content

Commit

Permalink
MDL-19567 Correctly ordering imported courses by sortorder (previousl…
Browse files Browse the repository at this point in the history
…y not ordered explicitly). Merged from MOODLE_19_STABLE
  • Loading branch information
nicolasconnault committed Oct 8, 2009
1 parent 63b06a9 commit 3cc5e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/import/activities/mod.php
Expand Up @@ -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)) {
Expand Down

0 comments on commit 3cc5e0b

Please sign in to comment.