mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 23:55:54 +01:00
Merge branch 'MDL-37034-CategoryNavigationKey' of https://github.com/iamandrew/moodle
This commit is contained in:
commit
f136e27f15
@ -4038,7 +4038,7 @@ class settings_navigation extends navigation_node {
|
||||
protected function load_category_settings() {
|
||||
global $CFG;
|
||||
|
||||
$categorynode = $this->add(print_context_name($this->context));
|
||||
$categorynode = $this->add(print_context_name($this->context), null, null, null, 'categorysettings');
|
||||
$categorynode->force_open();
|
||||
|
||||
if (has_any_capability(array('moodle/category:manage', 'moodle/course:create'), $this->context)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user