From bfaff8fe8f32a4fe35aae9cebbe20421b69328d4 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 25 May 2011 09:19:03 +0000 Subject: [PATCH] Fix: uniformize code --- htdocs/commande/class/commande.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 7ef56650cc3..10b63bd327f 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -2841,8 +2841,10 @@ class OrderLine $this->special_code = $objp->special_code; $this->rang = $objp->rang; - $this->ref = $objp->product_ref; - $this->product_libelle = $objp->product_libelle; + $this->ref = $objp->product_ref; // deprecated + $this->product_ref = $objp->product_ref; + $this->libelle = $objp->product_libelle; // deprecated + $this->product_label = $objp->product_libelle; $this->product_desc = $objp->product_desc; $this->date_start = $this->db->jdate($objp->date_start);