From a317c1c8889cbf9ebdae721049f3213a839f8d40 Mon Sep 17 00:00:00 2001 From: David Siegfried <david.siegfried@uni-vechta.de> Date: Mon, 9 Oct 2023 13:02:12 +0000 Subject: [PATCH] prevent php8-warnings, closes #3308 Closes #3308 Merge request studip/studip!2225 --- app/controllers/course/studygroup.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/controllers/course/studygroup.php b/app/controllers/course/studygroup.php index 6e7120a73d3..d473f0344f5 100644 --- a/app/controllers/course/studygroup.php +++ b/app/controllers/course/studygroup.php @@ -68,18 +68,17 @@ class Course_StudygroupController extends AuthenticatedController /** * shows details of a studygroup * - * @param string id of a studygroup + * @param string $id of a studygroup * @return void */ public function details_action($id = null) { - global $perm; - if (!$id) { $id = Context::getId(); } $studygroup = new Seminar($id); + $this->sidebarActions = []; if (Request::isXhr()) { PageLayout::setTitle(_('Studiengruppendetails')); } else { -- GitLab