diff --git a/lib/modules/CoreElearningInterface.class.php b/lib/modules/CoreElearningInterface.class.php index ca3d3be1b6d5785f07d723d89a923a7db397aa72..7e36a1b724342b27e89eb3487e509f1d0b1b98e1 100644 --- a/lib/modules/CoreElearningInterface.class.php +++ b/lib/modules/CoreElearningInterface.class.php @@ -93,7 +93,7 @@ class CoreElearningInterface extends CorePlugin implements StudipModule $navigation->addSubNavigation('show', $elearning_nav); } - if ($GLOBALS['perm']->have_studip_perm('tutor', Context::getId())) { + if ($GLOBALS['perm']->have_studip_perm('tutor', $course_id)) { $navigation->addSubNavigation('edit', new Navigation(_('Lernmodule hinzufügen / entfernen'), 'dispatch.php/course/elearning/edit?seminar_id=' . $course_id)); }