Skip to content

Commit

Permalink
Merge branch 'MDL-67638_master' of https://github.com/nguyenphuctien/…
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Jan 15, 2020
2 parents 2bdad64 + bc6efcb commit daa7107
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions course/lib.php
Expand Up @@ -2209,6 +2209,7 @@ function move_courses($courseids, $categoryid) {
foreach ($dbcourses as $dbcourse) {
$course = new stdClass();
$course->id = $dbcourse->id;
$course->timemodified = time();
$course->category = $category->id;
$course->sortorder = $category->sortorder + MAX_COURSES_IN_CATEGORY - $i++;
if ($category->visible == 0) {
Expand Down

0 comments on commit daa7107

Please sign in to comment.