From 653ef4408751f5d3f9a31b38e3085753a6db12b9 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 29 Nov 2021 12:00:13 +0100 Subject: [PATCH] bug apparition dans le footer --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 27e6f82b..e5e696ba 100644 --- a/core/core.php +++ b/core/core.php @@ -1490,7 +1490,7 @@ class common { $items .= ''; // Affichage de la gestion des cookies $items .= 'getData(['config', 'cookieConsent']) === false && $this->getData(['theme', 'footer', 'displayCookie']) === false)? ' class="displayNone" >' : '>'; + $items .= ($this->getData(['config', 'cookieConsent']) === true && $this->getData(['theme', 'footer', 'displayCookie']) === true) ? '' : ' class="displayNone" >'; $label = empty($this->getData(['locale', 'cookies', 'cookiesFooterText'])) ? 'Confidentialité' : $this->getData(['locale', 'cookies', 'cookiesFooterText']) ; $items .= ' | '. $label .''; $items .= '';