Permalink
Browse files

MDL-19567 Correctly ordering imported courses by sortorder (previousl…

…y not ordered explicitly)
  • Loading branch information...
1 parent ed6a79d commit 5ec6beffd6a23ddd14952781109c01bf27a53e97 nicolasconnault committed Oct 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/import/activities/mod.php
@@ -29,7 +29,7 @@
$taught_courses = array();
if (!empty($tcourseids)) {
$tcourseids = substr($tcourseids,0,-1);
- $taught_courses = get_records_list('course', 'id', $tcourseids);
+ $taught_courses = get_records_list('course', 'id', $tcourseids, 'sortorder');
}
if (!empty($creator)) {

0 comments on commit 5ec6bef

Please sign in to comment.