From 11d2e5c12f0d6b77d2022988dbb26b0983abbb35 Mon Sep 17 00:00:00 2001 From: Andre Cianfarani Date: Sun, 12 Feb 2006 05:23:39 +0000 Subject: [PATCH] fix: il y avait erreur d'id dans les lignes de produits --- htdocs/commande/commande.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 7c8d4dcf9e6..951f0f13a59 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -510,7 +510,7 @@ class Commande $ligne->subprice = $objp->subprice; $ligne->remise_percent = $objp->remise_percent; $ligne->price = $objp->price; - $ligne->product_id = $objp->rowid; + $ligne->product_id = $objp->fk_product; $ligne->libelle = $objp->label; // Label produit $ligne->product_desc = $objp->product_desc; // Description produit