From 55899ead3b2c7b8fdaa0aa1c548ead434efce66a Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Wed, 3 Jan 2024 16:59:42 +0100 Subject: [PATCH] fix hook name --- htdocs/product/admin/product_tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/admin/product_tools.php b/htdocs/product/admin/product_tools.php index 905f050ba7c..287c88af8d8 100644 --- a/htdocs/product/admin/product_tools.php +++ b/htdocs/product/admin/product_tools.php @@ -261,7 +261,7 @@ if ($action == 'convert') { // add hook for external modules $parameters = array('oldvatrate' => $oldvatrate, 'newvatrate' => $newvatrate); - $reshook = $hookmanager->executeHooks('AFTER_VAT_UPDATE', $parameters); + $reshook = $hookmanager->executeHooks('hookAfterVatUpdate', $parameters); if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); $error++;