diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index dc8f969540f..3c4c3ea5d36 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -738,7 +738,7 @@ class Translate */ public function transcountrynoentities($str, $countrycode) { - if ($this->tab_translate["$str$countrycode"]) return $this->transnoentities("$str$countrycode"); + if (! empty($this->tab_translate["$str$countrycode"])) return $this->transnoentities("$str$countrycode"); else return $this->transnoentities($str); }