diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index b13ee4a98c8..9b9a000a6d9 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -315,7 +315,7 @@ if ($_GET["id"] || $_GET["ref"]) if ($_GET["action"] != 'add_price') { - if (!$user->rights->produit->creer) + if ($user->rights->produit->creer) { print ''; print $langs->trans("AddSupplier").''; diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index e14548ffc6d..565f0a76397 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -402,12 +402,12 @@ print "