Merge branch 'wip-MDL-30754-m23' of git://github.com/samhemelryk/moodle into MOODLE_23_STABLE
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user