Browse files

MDL-34765 Course: Fixed missing argument in course reordering

  • Loading branch information...
1 parent ccbf680 commit 8b662ca83f4f1069880661ba5d9d206377c425c1 @FMCorz FMCorz committed with Sam Hemelryk Sep 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/category.php
View
2 course/category.php
@@ -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 8b662ca

Please sign in to comment.