Skip to content
Snippets Groups Projects
Commit 382b3d76 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

prevent php8-warnings, closes #3308

Closes #3308

Merge request studip/studip!2225
parent 88f36105
No related branches found
No related tags found
No related merge requests found
...@@ -68,18 +68,17 @@ class Course_StudygroupController extends AuthenticatedController ...@@ -68,18 +68,17 @@ class Course_StudygroupController extends AuthenticatedController
/** /**
* shows details of a studygroup * shows details of a studygroup
* *
* @param string id of a studygroup * @param string $id of a studygroup
* @return void * @return void
*/ */
public function details_action($id = null) public function details_action($id = null)
{ {
global $perm;
if (!$id) { if (!$id) {
$id = Context::getId(); $id = Context::getId();
} }
$studygroup = new Seminar($id); $studygroup = new Seminar($id);
$this->sidebarActions = [];
if (Request::isXhr()) { if (Request::isXhr()) {
PageLayout::setTitle(_('Studiengruppendetails')); PageLayout::setTitle(_('Studiengruppendetails'));
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment