aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
/**