|
@@ -642,7 +642,7 @@ class ProductFournisseurPrice extends CommonObject
|
|
|
|
|
|
global $action, $hookmanager;
|
|
|
$hookmanager->initHooks(array('productfournisseurpricedao'));
|
|
|
- $parameters = array('id'=>$this->id, 'getnomurl'=>$result);
|
|
|
+ $parameters = array('id'=>$this->id, 'getnomurl' => &$result);
|
|
|
$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;
|
|
|
else $result .= $hookmanager->resPrint;
|