diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-04 13:32:48 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-04 13:32:48 +0000 |
| commit | cfd7d78c8120cc41fc4f44f25ff44094f2ee5418 (patch) | |
| tree | 61662dcecdbaf60d6bb5d9005b295c27d25b4755 | |
| parent | 8d9e573bf7a66b7eb86e442dd97d802ed26b4e31 (diff) | |
fixes #3943
Closes #3943
Merge request studip/studip!2802
| -rw-r--r-- | lib/classes/I18NString.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/I18NString.php b/lib/classes/I18NString.php index 353062e..63e275e 100644 --- a/lib/classes/I18NString.php +++ b/lib/classes/I18NString.php @@ -184,7 +184,7 @@ class I18NString implements JsonSerializable */ public function translation($lang) { - return $this->toArray()[$lang] ?? ''; + return $this->toArray()[$lang] ?? null; } /** |
