From 38e21a1ef6eb856419befe8dc155fe197e3b795c Mon Sep 17 00:00:00 2001 From: Jyhere Date: Fri, 28 Mar 2025 15:01:32 +0100 Subject: [PATCH] FIX: missing formObjectOptions hook on payment card (#33629) --- htdocs/compta/paiement/card.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/compta/paiement/card.php b/htdocs/compta/paiement/card.php index f24008595c4..f9a695fb599 100644 --- a/htdocs/compta/paiement/card.php +++ b/htdocs/compta/paiement/card.php @@ -470,6 +470,11 @@ if (!empty($object->ext_payment_id)) { print ''; } +// Other attributes +$parameters = array(); +$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +print $hookmanager->resPrint; + print ''; print '';