1
0
mirror of https://github.com/moodle/moodle.git synced 2025-05-14 04:06:39 +02:00

MDL-30754: Make sure to always display breadcrumbs when browsing categories.

This commit is contained in:
Didier Raboud 2012-10-03 15:53:16 +02:00 committed by Sam Hemelryk
parent ccd90e765e
commit 9c93dc63ac

@ -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;