diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2023-03-02 15:23:18 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-03-02 15:23:18 +0000 |
| commit | 0159593d18c8f4fccaf76f6876c8f7d6868ac520 (patch) | |
| tree | ce956f5e7e81fa79971fb2094043d83a8b83d381 /lib/models/CourseDate.class.php | |
| parent | 0f05cd6a3b1c8e4bb954302dbbc0901e3b4d586d (diff) | |
prevent php-warnings, closes #2243
Closes #2243
Merge request studip/studip!1476
Diffstat (limited to 'lib/models/CourseDate.class.php')
| -rw-r--r-- | lib/models/CourseDate.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/CourseDate.class.php b/lib/models/CourseDate.class.php index bcfe5c7..7f7d172 100644 --- a/lib/models/CourseDate.class.php +++ b/lib/models/CourseDate.class.php @@ -250,7 +250,7 @@ class CourseDate extends SimpleORMap implements PrivacyObject */ public function getTypeName() { - return $GLOBALS['TERMIN_TYP'][$this->date_typ]['name']; + return $GLOBALS['TERMIN_TYP'][$this->date_typ]['name'] ?? ''; } /** |
