Skip to content
Snippets Groups Projects
Commit ba9525cd authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix variable access, re #32

parent 936d1c00
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ class CoreElearningInterface extends CorePlugin implements StudipModule ...@@ -93,7 +93,7 @@ class CoreElearningInterface extends CorePlugin implements StudipModule
$navigation->addSubNavigation('show', $elearning_nav); $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)); $navigation->addSubNavigation('edit', new Navigation(_('Lernmodule hinzufügen / entfernen'), 'dispatch.php/course/elearning/edit?seminar_id=' . $course_id));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment