From 848a2cf222748bda0ad25a64a8f921dca77109f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Mon, 26 Sep 2022 16:06:32 +0200 Subject: [PATCH] =?UTF-8?q?Bug=20r=C3=A9initialisation=20nouveau=20initDat?= =?UTF-8?q?a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 01dcdfff..ab9ba6c0 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -794,11 +794,11 @@ class theme extends common { $redirect =''; switch ($url[0]) { case 'admin': - $this->initData('admin'); + $this->initData('admin', self::$i18nUI); $redirect = helper::baseUrl() . 'theme/admin'; break; case 'manage': - $this->initData('theme'); + $this->initData('theme', self::$i18nUI); $redirect = helper::baseUrl() . 'theme/manage'; break; case 'custom': @@ -1212,7 +1212,7 @@ class theme extends common { } } } - + // Ajoute le préconnect des fontes Googles. $fileContent = $gf ? '' . $fileContent : $fileContent;