diff --git a/htdocs/admin/produit.php b/htdocs/admin/produit.php index fa1d1aedb48..dc992ca2802 100644 --- a/htdocs/admin/produit.php +++ b/htdocs/admin/produit.php @@ -300,7 +300,7 @@ print ''; print ''; // Barcode -if ($conf->barcode->enabled) +if ($conf->barcode->enabled && $conf->global->PRODUIT_USE_BARCODE) { $var=!$var; print "