fix hook name

This commit is contained in:
Christian Foellmann 2021-07-30 15:19:05 +02:00
parent 3ceb451734
commit 055a5c4ab6
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ class HookManager
'getFormatedSupplierRef', 'getFormatedSupplierRef',
'getIdProfUrl', 'getIdProfUrl',
'getInputIdProf', 'getInputIdProf',
'menu_LeftMenuItems', 'menuLeftMenuItems',
'moveUploadedFile', 'moveUploadedFile',
'moreHtmlStatus', 'moreHtmlStatus',
'pdf_build_address', 'pdf_build_address',

View File

@ -1964,7 +1964,7 @@ function print_left_eldy_menu($db, $menu_array_before, $menu_array_after, &$tabM
'mainmenu' => $mainmenu, 'mainmenu' => $mainmenu,
); );
$hook_items = $menu_array; $hook_items = $menu_array;
$reshook = $hookmanager->executeHooks('menu_LeftMenuArray', $parameters, $hook_items); // Note that $action and $object may have been modified by some hooks $reshook = $hookmanager->executeHooks('menuLeftMenuItems', $parameters, $hook_items); // Note that $action and $object may have been modified by some hooks
if (is_numeric($reshook)) { if (is_numeric($reshook)) {
if ($reshook == 0 && !empty($hookmanager->results)) { if ($reshook == 0 && !empty($hookmanager->results)) {