diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index 6113f5aa91e..3da91bac61c 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -1319,10 +1319,9 @@ if ($source == 'membersubscription') print ''; print ''."\n"; - if ($object->datefin > 0) - { + if ($object->datefin > 0) { print ''.$langs->trans("DateEndSubscription"); - print ''.dol_print_date($member->datefin,'day'); + print ''.dol_print_date($member->datefin, 'day'); print ''."\n"; }