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