mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-30754: Make sure to always display breadcrumbs when browsing categories.
This commit is contained in:
parent
562dbe408e
commit
67728fe717
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue