diff --git a/course/delete.php b/course/delete.php index 74b0dae7c63..5ba165baca1 100644 --- a/course/delete.php +++ b/course/delete.php @@ -68,6 +68,7 @@ print_heading($strdeletingcourse); delete_course($course->id); + fix_course_sortorder(); //update course count in catagories print_heading( get_string("deletedcourse", "", $course->shortname) );