Skip to content

Commit

Permalink
Fixed bug that didn't allow to show the new categories - 7925
Browse files Browse the repository at this point in the history
  • Loading branch information
jloguercio committed Nov 12, 2015
1 parent 5166be6 commit 3527d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/course_category.lib.php
Expand Up @@ -134,7 +134,7 @@ function addNode($code, $name, $canHaveCourses, $parent_id)
$params = [
'name' => $name,
'code' => $code,
'parent_id' => empty($parent_id) ? '' : $parent_id,
'parent_id' => empty($parent_id) ? null : $parent_id,
'tree_pos' => $tree_pos,
'children_count' => 0,
'auth_course_child' => $canHaveCourses,
Expand Down

0 comments on commit 3527d44

Please sign in to comment.