Skip to content
Browse files

Merge branch 'wip-MDL-41594-m25' of git://github.com/marinaglancy/moo…

…dle into MOODLE_25_STABLE
  • Loading branch information...
2 parents 9033689 + 09b8f89 commit 4008db6d6aa2b54ed47aeaadedb0b2e5ead3c87a @stronk7 stronk7 committed Sep 24, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/coursecatlib.php
View
3 lib/coursecatlib.php
@@ -581,6 +581,9 @@ protected static function get_tree($id) {
} else {
// parent not found. This is data consistency error but next fix_course_sortorder() should fix it
$all[0][] = $record->id;
+ if (!$record->visible) {
+ $all['0i'][] = $record->id;
+ }
}
$count++;
}

0 comments on commit 4008db6

Please sign in to comment.
Something went wrong with that request. Please try again.