From 68f9b5c914cc66a1e67d7703d3d0962adc4eb0ca Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 16 Nov 2004 21:48:10 +0000 Subject: [PATCH] Ajout protection lors de la creation d'un produit --- 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 42c5f09c9c9..35dfb8df7f2 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -234,7 +234,7 @@ llxHeader("","",$langs->trans("CardProduct".$product->type)); * Création du produit * */ -if ($_GET["action"] == 'create') +if ($_GET["action"] == 'create' && $user->rights->produit->creer) { $html = new Form($db); $nbligne=0;