merge 12308

This commit is contained in:
Fred Tempez 2023-04-18 20:42:51 +02:00
parent 0895e51a0a
commit 388395f5e4

View File

@ -179,7 +179,7 @@ class translate extends common
if (file_exists(self::DATA_DIR . $key . '/page.json') &&
file_exists(self::DATA_DIR . $key . '/module.json') &&
file_exists(self::DATA_DIR . $key . '/locale.json')
) {
) {
if (self::$i18nUI === $key) {
$messageLocale = helper::translate('Langue par défaut');
} elseif (isset($_SESSION['ZWII_CONTENT']) && $_SESSION['ZWII_CONTENT'] === $key) {