From 70451050aebab0ffa3c1c086cf0295ed0caf7d2b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 11 May 2021 19:22:46 +0200 Subject: [PATCH] Update contact.php --- htdocs/fourn/facture/contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/contact.php b/htdocs/fourn/facture/contact.php index 65471cd59ff..3ee6fe10d14 100644 --- a/htdocs/fourn/facture/contact.php +++ b/htdocs/fourn/facture/contact.php @@ -203,7 +203,7 @@ if ($id > 0 || !empty($ref)) { $facavoir->fetch($facid); $invoicecredits[] = $facavoir->getNomUrl(1); } - print ' ('.$langs->transnoentities("InvoiceHasAvoir") . implode(',', $invoicecredits) . ')'; + print ' ('.$langs->transnoentities("InvoiceHasAvoir") . (count($invoicecredits) ? ' ' : '') . implode(',', $invoicecredits) . ')'; } if ($facidnext > 0) { $facthatreplace = new FactureFournisseur($db);