diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 5f937ec7787..87e909ef745 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -408,7 +408,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) $class = 'Product'.ucfirst($_GET["canvas"]); include_once('canvas/product.'.$_GET["canvas"].'.class.php'); - $product = new $class($db); + $product = new $class($db,0,$user); } else {