diff --git a/lib/navigationlib.php b/lib/navigationlib.php index 121b4329016..f69daea0288 100644 --- a/lib/navigationlib.php +++ b/lib/navigationlib.php @@ -2247,7 +2247,7 @@ class global_navigation extends navigation_node { $participants->add(get_string('blogs','blog'), $blogsurls->out()); } if (!empty($CFG->enablenotes) && (has_capability('moodle/notes:manage', $this->page->context) || has_capability('moodle/notes:view', $this->page->context))) { - $participants->add(get_string('notes','notes'), new moodle_url('/notes/index.php', array('filtertype'=>'course', 'filterselect'=>$filterselect))); + $participants->add(get_string('notes','notes'), new moodle_url('/notes/index.php', array('filtertype'=>'course', 'filterselect'=>$course->id))); } } else if (count($this->extendforuser) > 0 || $this->page->course->id == $course->id) { $participants = $coursenode->add(get_string('participants'), null, self::TYPE_CONTAINER, get_string('participants'), 'participants');