diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 592f58916b7..66e8f6d39cb 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -875,7 +875,7 @@ class Product if ($conf->global->MAIN_MULTILANGS) $this->getMultiLangs(); // Barcode - if ($conf->barcode->enabled) + if ($conf->barcode->enabled && $conf->global->PRODUIT_USE_BARCODE) { if ($this->barcode_type == 0) {