Add more properties in hook getNomUrl
This commit is contained in:
parent
edad39a93b
commit
085ee619ba
@ -5127,7 +5127,7 @@ class Product extends CommonObject
|
||||
|
||||
global $action;
|
||||
$hookmanager->initHooks(array('productdao'));
|
||||
$parameters = array('id'=>$this->id, 'getnomurl' => &$result);
|
||||
$parameters = array('id'=>$this->id, 'getnomurl' => &$result, 'label' => &$label);
|
||||
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
||||
if ($reshook > 0) {
|
||||
$result = $hookmanager->resPrint;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user