From 70ecf5a12371e5ca7ccc03a004b8c6923f41d77a Mon Sep 17 00:00:00 2001 From: Quentin-Seekness <72733832+Quentin-Seekness@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:27:59 +0200 Subject: [PATCH] Update card.php line desc We don't need the label to be the description if there was not any in origin line. --- htdocs/compta/facture/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index 2f3765720a2..35894001394 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -1657,7 +1657,7 @@ if (empty($reshook)) { } $label = (!empty($lines[$i]->label) ? $lines[$i]->label : ''); - $desc = (!empty($lines[$i]->desc) ? $lines[$i]->desc : $lines[$i]->label); + $desc = (!empty($lines[$i]->desc) ? $lines[$i]->desc : ''); if ($object->situation_counter == 1) { $lines[$i]->situation_percent = 0; }