Fix warning

This commit is contained in:
Laurent Destailleur 2020-11-22 22:58:14 +01:00
parent af2eabb24d
commit 7d1b84d482

View File

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