Skip to content

Commit

Permalink
fix "Without Category" nbr in "Courses categories" selector - refs BT…
Browse files Browse the repository at this point in the history
…#16819
  • Loading branch information
Sébastien Ducoulombier committed May 14, 2020
1 parent 81c7100 commit 5ea116c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/CoursesAndSessionsCatalog.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public static function getCourseCategoriesTree()
}

// count courses that are in no category
$countCourses = CourseCategory::countCoursesInCategory();
$countCourses = CourseCategory::countCoursesInCategory('NONE');
$categories['NONE'] = [
'id' => 0,
'name' => get_lang('WithoutCategory'),
Expand Down

0 comments on commit 5ea116c

Please sign in to comment.