diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-02-12 13:16:17 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-02-12 13:16:17 +0100 |
| commit | 39a64329b474fab762b6843880e82a61e998f875 (patch) | |
| tree | 119afe68b5543f5a5966ff52321c621069bd110c | |
| parent | a07e7c2e941b78e0cc9c6f4a43cce2375efa1560 (diff) | |
fix error from 3c0331c8, re #6224
| -rw-r--r-- | lib/models/Course.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/models/Course.class.php b/lib/models/Course.class.php index 76a7be7..da08f3d 100644 --- a/lib/models/Course.class.php +++ b/lib/models/Course.class.php @@ -441,6 +441,7 @@ class Course extends SimpleORMap implements Range, PrivacyObject, StudipItem, Fe if (count($this->semesters) > 0) { return $this->semesters->last(); } + return null; } /** |
