replace deprecated function

This commit is contained in:
Ortwin Pinke 2022-12-20 20:00:10 +01:00
parent ba6d871ec0
commit aa22765927

View file

@ -130,7 +130,7 @@ class cI18n {
// Is emulator to use?
if (!$cfg['native_i18n']) {
return mb_convert_encoding(self::emulateGettext($string, $domain), 'HTML-ENTITIES', 'utf-8');
return htmlentities(self::emulateGettext($string, $domain));
}
// Try to use native gettext implementation