Add more properties in hook getNomUrl

This commit is contained in:
Laurent Destailleur 2022-12-28 02:33:14 +01:00
parent edad39a93b
commit 085ee619ba

View File

@ -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;