Merge branch 'wip-MDL-41594-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2013-09-24 23:20:53 +02:00
+3
View File
@@ -596,6 +596,9 @@ class coursecat implements renderable, cacheable_object, IteratorAggregate {
} 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++;
}