From dfa5c419b324233668520f4b8f2f8ca6e2b10311 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 19 Jun 2021 14:52:06 +0200 Subject: [PATCH] Update commande.class.php --- htdocs/commande/class/commande.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 728fe45d7bd..608e1aa5199 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -3087,10 +3087,10 @@ class Commande extends CommonOrder $this->line->rang = $rangmax + 1; } - $this->line->rowid=$rowid; - $this->line->label=!empty($label)?$label:$this->line->oldline->label; - $this->line->desc=$desc; - $this->line->qty=$qty; + $this->line->rowid = $rowid; + $this->line->label = $label; + $this->line->desc = $desc; + $this->line->qty = $qty; $this->line->vat_src_code = $vat_src_code; $this->line->tva_tx = $txtva;