From e07ba9963b663366c5ce8e641835765d5e1c3dfd Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 17 Jan 2024 12:20:58 +0100 Subject: [PATCH] =?UTF-8?q?1408=20supprime=20un=20appel=20=C3=A0=20locale?= =?UTF-8?q?=20qui=20n'existe=20plus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/language/language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/language/language.php b/core/module/language/language.php index 94a0a0e..a301bf2 100644 --- a/core/module/language/language.php +++ b/core/module/language/language.php @@ -435,7 +435,7 @@ class language extends common // La locale est-elle celle de la langue de l'UI ? if ($lang === self::$siteContent) { - self::$locales[$lang]['locale'] = $this->getData(['locale']); + self::$locales[$lang]['locale'] = $this->getData(['config']); } else { // Lire les locales sans passer par les méthodes self::$locales[$lang] = json_decode(file_get_contents(self::DATA_DIR . $lang . '/locale.json'), true);