Skip to content

Commit

Permalink
bug fix upgrade 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jf-viguier authored Oct 4, 2024
1 parent 70cadd5 commit 9ff9cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgrade/install-1.1.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function upgrade_module_1_1_0($object)
$result &= $object->registerHook('actionCustomerAccountAdd');
}

if ($object->isRegisteredInHook('validateCustomerFormFields')) {
if (!$object->isRegisteredInHook('validateCustomerFormFields')) {
$result &= $object->unregisterHook('validateCustomerFormFields');
}

Expand Down

0 comments on commit 9ff9cac

Please sign in to comment.