From f718a396d5a5ba0bb433ccf93be31bdd8d9cc1ee Mon Sep 17 00:00:00 2001 From: zuiko Date: Tue, 12 Jan 2021 21:59:09 +0100 Subject: [PATCH] Update mod_barcode_product_standard.php $out .= $obj->libelle; //take the libelle corresponding to the type rowid in the database Take the libelle instead the code for the litteral value of the barcode type rowid. --- htdocs/core/modules/barcode/mod_barcode_product_standard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {