Browse Source

Minor - fix wrong variable name

Julio Montoya 6 years ago
parent
commit
40edf9f446
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/lp/learnpath.class.php

+ 1 - 1
main/lp/learnpath.class.php

@@ -11953,7 +11953,7 @@ EOD;
      */
     public static function getCountCategories($courseId)
     {
-        if (empty($course_id)) {
+        if (empty($courseId)) {
             return 0;
         }
         $em = Database::getManager();