Merge branch 'wip-MDL-30754-m23' of git://github.com/samhemelryk/moodle into MOODLE_23_STABLE

This commit is contained in:
Aparup Banerjee
2012-10-09 14:32:31 +08:00
+1 -1
View File
@@ -1197,7 +1197,7 @@ class global_navigation extends navigation_node {
break;
case CONTEXT_COURSECAT :
// This has already been loaded we just need to map the variable
if ($showcategories) {
if ($this->show_categories()) {
$this->load_all_categories($this->page->context->instanceid, true);
}
break;