fix hook name
This commit is contained in:
parent
3ceb451734
commit
055a5c4ab6
@ -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',
|
||||||
|
|||||||
@ -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)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user