Ajout protection lors de la creation d'un produit

This commit is contained in:
Rodolphe Quiedeville 2004-11-16 21:48:10 +00:00
parent a117234236
commit 68f9b5c914

View File

@ -234,7 +234,7 @@ llxHeader("","",$langs->trans("CardProduct".$product->type));
* Création du produit * Création du produit
* *
*/ */
if ($_GET["action"] == 'create') if ($_GET["action"] == 'create' && $user->rights->produit->creer)
{ {
$html = new Form($db); $html = new Form($db);
$nbligne=0; $nbligne=0;