Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-34765 Course: Fixed missing argument in course reordering

  • Loading branch information...
commit ceed31ad6b59ab3e22fd65e67ab0e1c08a123082 1 parent 6ab9c3e
Frédéric Massart FMCorz authored samhemelryk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/category.php
2  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) {
Please sign in to comment.
Something went wrong with that request. Please try again.