add more hook param
This commit is contained in:
parent
f073b7023a
commit
e39774a508
@ -733,7 +733,7 @@ class Entrepot extends CommonObject
|
|||||||
|
|
||||||
global $action;
|
global $action;
|
||||||
$hookmanager->initHooks(array('warehousedao'));
|
$hookmanager->initHooks(array('warehousedao'));
|
||||||
$parameters = array('id'=>$this->id, 'getnomurl'=>$result);
|
$parameters = array('id'=>$this->id, 'getnomurl'=>$result, 'withpicto' => $withpicto, 'option' => $option, 'showfullpath' => $showfullpath, 'notooltip'=> $notooltip);
|
||||||
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
if ($reshook > 0) {
|
if ($reshook > 0) {
|
||||||
$result = $hookmanager->resPrint;
|
$result = $hookmanager->resPrint;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user