From 0af432531238ac29c0f43055c72f13b88271513c Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 4 May 2007 08:50:50 +0000 Subject: [PATCH] Ajout variable user lors de la creation d'un objet --- htdocs/product/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {