diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php
index 73fe099f09b..345504b2f1d 100644
--- a/htdocs/public/payment/newpayment.php
+++ b/htdocs/public/payment/newpayment.php
@@ -712,7 +712,7 @@ if ($source == 'order')
// Object
$text=''.$langs->trans("PaymentOrderRef",$order->ref).'';
- if (GETPOST('desc','alpha')) $text.=''.$langs->trans(GETPOST('desc','alpha')).'';
+ if (GETPOST('desc','alpha')) $text=''.$langs->trans(GETPOST('desc','alpha')).'';
print '
| '.$langs->trans("Designation");
print ' | '.$text;
print '';
@@ -825,7 +825,7 @@ if ($source == 'invoice')
// Object
$text=''.$langs->trans("PaymentInvoiceRef",$invoice->ref).'';
- if (GETPOST('desc','alpha')) $text.=''.$langs->trans(GETPOST('desc','alpha')).'';
+ if (GETPOST('desc','alpha')) $text=''.$langs->trans(GETPOST('desc','alpha')).'';
print ' |
| '.$langs->trans("Designation");
print ' | '.$text;
print '';
@@ -1008,7 +1008,7 @@ if ($source == 'contractline')
{
$text.=' '.$langs->trans("ExpiredSince").': '.dol_print_date($contractline->date_fin_validite);
}
- if (GETPOST('desc','alpha')) $text.=''.$langs->trans(GETPOST('desc','alpha')).'';
+ if (GETPOST('desc','alpha')) $text=''.$langs->trans(GETPOST('desc','alpha')).'';
print ' |
| '.$langs->trans("Designation");
print ' | '.$text;
print '';
@@ -1151,7 +1151,7 @@ if ($source == 'membersubscription')
// Object
$text=''.$langs->trans("PaymentSubscription").'';
- if (GETPOST('desc','alpha')) $text.=''.$langs->trans(GETPOST('desc','alpha')).'';
+ if (GETPOST('desc','alpha')) $text=''.$langs->trans(GETPOST('desc','alpha')).'';
print ' |
| '.$langs->trans("Designation");
print ' | '.$text;
print '';
|