diff --git a/htdocs/public/payment/paymentok.php b/htdocs/public/payment/paymentok.php
index e48fc014749..7537d281feb 100644
--- a/htdocs/public/payment/paymentok.php
+++ b/htdocs/public/payment/paymentok.php
@@ -663,7 +663,7 @@ if ($ispaymentok)
$result=$paiement->addPaymentToBank($user,'payment',$label, $bankaccountid, '', '');
if ($result < 0)
{
- $postactionmessages[] = $paiement->error.' '.joint("
\n", $paiement->errors);
+ $postactionmessages[] = $paiement->error.' '.join("
\n", $paiement->errors);
$ispostactionok = -1;
$error++;
}