From 9ebe23aa0b71a1330f69c7d568327d9ec56eed68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Fri, 6 May 2022 22:31:44 +0200 Subject: [PATCH] Bug redirect validation cookie consent --- CHANGES.md | 4 ++++ core/core.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1aa4c52e..994af7c6 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## Version 11.4.01 +### Correcion : +- Un clic sur le bouton de validation du panneau RGPD envoyait vers la page d'accueil. + ## Version 11.4.00 ### Nouveautés : - Compatibilité avec PHP 8.1 diff --git a/core/core.php b/core/core.php index 3f374810..d4bd7ccf 100644 --- a/core/core.php +++ b/core/core.php @@ -45,7 +45,7 @@ class common { // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_VERSION = '11.4.00'; + const ZWII_VERSION = '11.4.01'; const ZWII_UPDATE_CHANNEL = "v11"; public static $actions = []; @@ -1293,7 +1293,7 @@ class common { $item .= '

'. $this->getData(['locale', 'cookies', 'titleLabel']) . '

'; $item .= '

' . $this->getData(['locale', 'cookies', 'mainLabel']) . '

'; // Formulaire de réponse - $item .= '
'; + $item .= ''; $analytics = $this->getData(['config', 'seo', 'analyticsId']); $stateCookieGA = $this->getInput('ZWII_COOKIE_GA_CONSENT') === 'true' ? 'checked="checked"' : ''; if( $analytics !== null AND $analytics !== '' ) {