From 875516c49c2ae734619cf79ff9313bd4c6002ed3 Mon Sep 17 00:00:00 2001 From: Romain Soulard Date: Mon, 12 Sep 2022 09:27:46 +0200 Subject: [PATCH] fix registerGDPRConsent hook --- psgdpr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psgdpr.php b/psgdpr.php index 456ef172..09b85c54 100755 --- a/psgdpr.php +++ b/psgdpr.php @@ -714,7 +714,7 @@ public function getRegisteredModules() { $modulesRegister = Hook::getHookModuleExecList('registerGDPRConsent'); // get modules using the gdpr hook - if (empty($modulesRegister) || count($modulesRegister) <= 1) { // if 0 module stop (1 to exclude gdpr module) + if (empty($modulesRegister)) { // if 0 module stop return; }