From 072e6b9ed4f933f93386cc4a85e2524083bf0f9f Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 19 Sep 2022 10:42:29 +0200 Subject: [PATCH] Bug de la fonction de traduction --- core/class/helper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index a7f58d7a..1d7948c8 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -35,7 +35,7 @@ class helper { } } */ - $r = (array_key_exists($text, core::$dialog)) ? core::$dialog[$text] : $text; + $r = array_key_exists($text, core::$dialog) && !empty(core::$dialog[$text]) ? core::$dialog[$text] : $text; return $r; }