diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 3957fbfd889f16c5bf48d94a1a0cc207e7cef60d..527615cc7c45c3d79f5f67437ecfefebb7187e2f 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -62,7 +62,7 @@ $result=restrictedArea($user,'produit|service&fournisseur',$fieldvalue,'product& // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array $hookmanager->initHooks(array('pricesuppliercard')); $product = new ProductFournisseur($db); -$product->fetch($id); +$product->fetch($id,$ref); $reshook=$hookmanager->executeHooks('doActions',$parameters,$product,$action); // Note that $action and $object may have been modified by some hooks $error=$hookmanager->error; $errors=$hookmanager->errors;