From 5ee00cf97bbec07b76f9f4e5f33f70355545b515 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Mon, 31 Aug 2015 05:09:21 +0200 Subject: [PATCH] change made --- htdocs/core/lib/functions.lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 65659a1dce4..37bdcfc419c 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -812,8 +812,7 @@ function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $p if (! $notab) $out.="\n".'
'."\n"; - array_push($hookmanager->contextarray,$hookparameter); - $parameters=array(); + $parameters=array( 'tabname' => $hookparameter); $reshook=$hookmanager->executeHooks('printTabsHead',$parameters); // Note that $action and $object may have been modified by some hooks return $out;