From cfd7d78c8120cc41fc4f44f25ff44094f2ee5418 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 4 Apr 2024 13:32:48 +0000
Subject: [PATCH] fixes #3943

Closes #3943

Merge request studip/studip!2802
---
 lib/classes/I18NString.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/classes/I18NString.php b/lib/classes/I18NString.php
index 353062eebd0..63e275e29c4 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;
     }
 
     /**
-- 
GitLab