diff --git a/lib/navigationlib.php b/lib/navigationlib.php index 0ecca8a7b05d9..549eb6d3d3a1e 100644 --- a/lib/navigationlib.php +++ b/lib/navigationlib.php @@ -2604,7 +2604,7 @@ public function add_front_page_course_essentials(navigation_node $coursenode, st $coursenode->add('frontpageloaded', null, self::TYPE_CUSTOM, null, 'frontpageloaded')->display = false; //Participants - if (has_capability('moodle/course:viewparticipants', context_system::instance())) { + if (has_capability('moodle/site:viewparticipants', context_system::instance())) { $coursenode->add(get_string('participants'), new moodle_url('/user/index.php?id='.$course->id), self::TYPE_CUSTOM, get_string('participants'), 'participants'); }