diff --git a/htdocs/core/modules/barcode/mod_barcode_product_standard.php b/htdocs/core/modules/barcode/mod_barcode_product_standard.php index de2b3b7a1b9..8b851e0fec1 100644 --- a/htdocs/core/modules/barcode/mod_barcode_product_standard.php +++ b/htdocs/core/modules/barcode/mod_barcode_product_standard.php @@ -162,7 +162,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode if ($num > 0) { $obj = $this->db->fetch_object($result); - $out .= $obj->code; + $out .= $obj->libelle; //take the libelle corresponding to the type rowid in the database } } else {