mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 08:11:39 +02:00
MDL-30754: Make sure to always display breadcrumbs when browsing categories.
This commit is contained in:
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;
|
||||
|
Reference in New Issue
Block a user