Bug de la fonction de traduction

This commit is contained in:
Fred Tempez 2022-09-19 10:42:29 +02:00
parent 232f0d2b1d
commit 072e6b9ed4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}