Ajout protection lors de la creation d'un produit
This commit is contained in:
parent
a117234236
commit
68f9b5c914
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user