MDL-37034 - Added appropriate name to category settings navigation node
authorAndrew Davidson <andrew.davidson@synergy-learning.com>
Thu, 6 Dec 2012 14:08:25 +0000 (14:08 +0000)
committerDan Poltawski <dan@moodle.com>
Mon, 17 Dec 2012 07:22:07 +0000 (15:22 +0800)
lib/navigationlib.php

index f092010..d0b2d5f 100644 (file)
@@ -4254,7 +4254,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)) {