From e936231ccbbef444c0568c62cffd47ed632e058b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 26 Sep 2022 10:19:24 +0200 Subject: [PATCH] Trans --- 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 0fe82b9e7f1..072aa9e67b2 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -4453,7 +4453,7 @@ if ($action == 'create') { if ($result > 0) { print ' '; $s = $langs->trans("CreditNoteConvertedIntoDiscount", '{s1}', '{s2}'); - $s = str_replace('{s1}', $object->getLibType(1), $s); + $s = str_replace('{s1}', $object->getLibType(0), $s); $s = str_replace('{s2}', $discount->getNomUrl(1, 'discount'), $s); print $s; print '
';