Permalink
Browse files

MDL-34765 Course: Fixed missing argument in course reordering

  • Loading branch information...
1 parent 6ab9c3e commit ceed31ad6b59ab3e22fd65e67ab0e1c08a123082 @FMCorz FMCorz committed with Sam Hemelryk Sep 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/category.php
View
@@ -76,7 +76,7 @@
// Process any category actions.
if ($canmanage && $resort && $sesskeyprovided) {
// Resort the category if requested
- if ($courses = get_courses($category->id, 'c.id,c.fullname,c.sortorder')) {
+ if ($courses = get_courses($category->id, '', 'c.id,c.fullname,c.sortorder')) {
collatorlib::asort_objects_by_property($courses, 'fullname', collatorlib::SORT_NATURAL);
$i = 1;
foreach ($courses as $course) {

0 comments on commit ceed31a

Please sign in to comment.