Browse Source

Fix bad function

Laurent Destailleur 6 years ago
parent
commit
273c396fb9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/public/payment/paymentok.php

+ 1 - 1
htdocs/public/payment/paymentok.php

@@ -663,7 +663,7 @@ if ($ispaymentok)
 						$result=$paiement->addPaymentToBank($user,'payment',$label, $bankaccountid, '', '');
 						$result=$paiement->addPaymentToBank($user,'payment',$label, $bankaccountid, '', '');
 						if ($result < 0)
 						if ($result < 0)
 						{
 						{
-							$postactionmessages[] = $paiement->error.' '.joint("<br>\n", $paiement->errors);
+							$postactionmessages[] = $paiement->error.' '.join("<br>\n", $paiement->errors);
 							$ispostactionok = -1;
 							$ispostactionok = -1;
 							$error++;
 							$error++;
 						}
 						}