From 0e55c3e38ff85d2bf1caa9fd6927b0552209b43f Mon Sep 17 00:00:00 2001 From: Christoph Staeblein Date: Fri, 17 Mar 2023 10:59:50 +0100 Subject: [PATCH] add: Aggrosoft-Cookie-Consent compatibility --- Modules/Core/ViewConfig.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/Core/ViewConfig.php b/Modules/Core/ViewConfig.php index a1e36a7..3722337 100644 --- a/Modules/Core/ViewConfig.php +++ b/Modules/Core/ViewConfig.php @@ -45,6 +45,11 @@ class ViewConfig extends ViewConfig_parent return true; } + // Aggrosoft Cookie Consent + if (method_exists($this, "isCookieCategoryEnabled")) { + return $this->isCookieCategoryEnabled($sCookieID); + } + return false; }