MDL-56630 theme_boost: Edit settings menu not always showing when it should

This commit is contained in:
Damyon Wiese 2016-11-07 10:44:19 +08:00
parent a0bdffbd73
commit 72deb9c861

View File

@ -606,6 +606,7 @@ class core_renderer extends \core_renderer {
if ($context->contextlevel == CONTEXT_MODULE) {
$this->page->navigation->initialise();
$node = $this->page->navigation->find_active_node();
$buildmenu = false;
// If the settings menu has been forced then show the menu.