From 7a7e2b6873f7d7ff0a560aea52ecf804239fc07e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 15 Oct 2012 21:42:17 +0200 Subject: [PATCH] Fix: Error management --- htdocs/adherents/card_subscriptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index 93bc4f4c162..55c475c2042 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -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;