From 45b7ddb8a8d8f124b659a274c8cff44ff80088b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 30 Nov 2022 18:00:39 +0100 Subject: [PATCH] add hooks init --- htdocs/compta/bank/annuel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php index 7365d1ed552..177855c9302 100644 --- a/htdocs/compta/bank/annuel.php +++ b/htdocs/compta/bank/annuel.php @@ -40,7 +40,7 @@ $id = GETPOST('account') ?GETPOST('account', 'alpha') : GETPOST('id'); $ref = GETPOST('ref'); // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context -$hookmanager->initHooks(array('bankstats', 'globalcard')); +$hookmanager->initHooks(array('bankannualreport', 'globalcard')); // Security check $fieldvalue = (!empty($id) ? $id : (!empty($ref) ? $ref : ''));