Skip to content

Commit

Permalink
MDL-34765 Course: Fixed missing argument in course reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart authored and Sam Hemelryk committed Sep 11, 2012
1 parent 6ab9c3e commit ceed31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/category.php
Expand Up @@ -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) {
Expand Down

0 comments on commit ceed31a

Please sign in to comment.