aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/I18NString.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-04-04 13:32:48 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-04-04 13:32:48 +0000
commitcfd7d78c8120cc41fc4f44f25ff44094f2ee5418 (patch)
tree61662dcecdbaf60d6bb5d9005b295c27d25b4755 /lib/classes/I18NString.php
parent8d9e573bf7a66b7eb86e442dd97d802ed26b4e31 (diff)
fixes #3943
Closes #3943 Merge request studip/studip!2802
Diffstat (limited to 'lib/classes/I18NString.php')
-rw-r--r--lib/classes/I18NString.php2
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;
}
/**