From c215898c527a173f2ca960c8431acf2b61cfff44 Mon Sep 17 00:00:00 2001 From: phf <phf@atm-consulting.fr> Date: Fri, 18 Dec 2015 17:11:14 +0100 Subject: [PATCH] FIX label of line is set in description field if empty --- htdocs/commande/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 8f3e09d0505..83ad4d0ce70 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -324,7 +324,7 @@ if (empty($reshook)) for($i = 0; $i < $num; $i ++) { $label = (! empty($lines[$i]->label) ? $lines[$i]->label : ''); - $desc = (! empty($lines[$i]->desc) ? $lines[$i]->desc : $lines[$i]->libelle); + $desc = (! empty($lines[$i]->desc) ? $lines[$i]->desc : ''); $product_type = (! empty($lines[$i]->product_type) ? $lines[$i]->product_type : 0); // Dates -- GitLab