Skip to content

Commit

Permalink
Merge pull request #181 from rsoulard-prolaser/fix-registerGDPRConsen…
Browse files Browse the repository at this point in the history
…t-hook

fix registerGDPRConsent hook
  • Loading branch information
jolelievre authored Oct 24, 2022
2 parents 06fdc60 + 875516c commit 7ad9d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psgdpr.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7ad9d22

Please sign in to comment.