2
0
forked from Wavyzz/dolibarr

Update functions.lib.php

better context change
This commit is contained in:
BENKE Charlie
2015-08-14 23:23:44 +02:00
parent a3db26adfd
commit daa68efdd3

View File

@@ -812,7 +812,8 @@ function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $p
if (! $notab) $out.="\n".'<div class="tabBar">'."\n"; if (! $notab) $out.="\n".'<div class="tabBar">'."\n";
$parameters=array('context'=>$hookparameter); array_push($hookmanager->contextarray,$hookparameter);
$parameters=array();
$reshook=$hookmanager->executeHooks('printTabsHead',$parameters); // Note that $action and $object may have been modified by some hooks $reshook=$hookmanager->executeHooks('printTabsHead',$parameters); // Note that $action and $object may have been modified by some hooks
return $out; return $out;