Skip to content

Commit

Permalink
Fix hook doAddButton (#32116)
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
  • Loading branch information
Daoud-mohamed and eldy authored Nov 28, 2024
1 parent c06a474 commit 76d4a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/public/payment/newpayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -2166,7 +2166,7 @@
$reshook = $hookmanager->executeHooks('doAddButton', $parameters, $object, $action);
if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
} elseif ($reshook > 0) {
} elseif ($reshook >= 0) {
print $hookmanager->resPrint;
}

Expand Down

0 comments on commit 76d4a87

Please sign in to comment.