2
0
forked from Wavyzz/dolibarr

Fix: Error management

This commit is contained in:
Laurent Destailleur
2012-10-15 21:42:17 +02:00
parent 0dbc7ebb25
commit 7a7e2b6873

View File

@@ -403,7 +403,7 @@ if ($user->rights->adherent->cotisation->creer && $action == 'cotisation' && ! $
if (! $error)
{
$bank_line_id=$paiement->addPaymentToBank($user,'payment','(SubscriptionPayment)',$accountid,$emetteur_nom,$emetteur_banque);
if (! $bank_line_id > 0)
if (! ($bank_line_id > 0))
{
$errmsg=$paiement->error;
$errmsgs=$paiement->errors;