diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-24 10:34:08 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-24 10:34:08 +0000 |
| commit | 401a3ed23c8c9582079bee51e0c699d7b1664244 (patch) | |
| tree | 828e6b8713c5696500b27b32453701204e5719d5 /app/controllers/course/grouping.php | |
| parent | c38b0da4de0ba9d347db82b9f18381815f84e912 (diff) | |
fix other regressions from 83773002, re #4030
Merge request studip/studip!2916
Diffstat (limited to 'app/controllers/course/grouping.php')
| -rw-r--r-- | app/controllers/course/grouping.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/course/grouping.php b/app/controllers/course/grouping.php index 1729d99..3cef673 100644 --- a/app/controllers/course/grouping.php +++ b/app/controllers/course/grouping.php @@ -37,7 +37,7 @@ class Course_GroupingController extends AuthenticatedController throw new AccessDeniedException(_('Sie haben leider nicht die notwendige Berechtigung für diese Aktion.')); } - if ($GLOBALS['perm']->have_studip_perm('admin', $this->course_id)) { + if ($GLOBALS['perm']->have_studip_perm('admin', $this->course->id)) { $widget = new CourseManagementSelectWidget(); Sidebar::get()->addWidget($widget); } |
