fix hook name
This commit is contained in:
parent
e333e7288a
commit
55899ead3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue