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 : ''));