Skip to content
Snippets Groups Projects
Commit a317c1c8 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 3f0f9300
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment