Skip to content
Snippets Groups Projects
Commit 14bba287 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Elmar Ludwig
Browse files

prevent warning, fixes #2628

Closes #2628

Merge request studip/studip!1779
parent 32809c81
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ class LtiLink ...@@ -116,7 +116,7 @@ class LtiLink
'CourseSection.credits' => $course->ects, 'CourseSection.credits' => $course->ects,
'CourseSection.maxNumberofStudents' => $course->admission_turnout, 'CourseSection.maxNumberofStudents' => $course->admission_turnout,
'CourseSection.numberofStudents' => $course->getNumParticipants(), 'CourseSection.numberofStudents' => $course->getNumParticipants(),
'CourseSection.dept' => $course->home_institut->name, 'CourseSection.dept' => $course->home_institut->name ?? null,
]); ]);
$this->addLaunchParameters([ $this->addLaunchParameters([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment