From 21aa69b11afd87ccbe05ab2aa3fb396e3657e221 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 3 Mar 2023 15:46:13 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/compta/paiement/class/paiement.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/paiement/class/paiement.class.php b/htdocs/compta/paiement/class/paiement.class.php index a473f06cd04..e16834e5707 100644 --- a/htdocs/compta/paiement/class/paiement.class.php +++ b/htdocs/compta/paiement/class/paiement.class.php @@ -276,7 +276,7 @@ class Paiement extends CommonObject } if (empty($currencyofpayment)) { $currencyofpayment = isset($this->multicurrency_code[$key]) ? $this->multicurrency_code[$key] : ""; - } else if ($currencyofpayment != $this->multicurrency_code[$key]) { + } elseif ($currencyofpayment != $this->multicurrency_code[$key]) { // If we have invoices with different currencies in the payment, we stop here $this->error = 'ErrorYouTryToPayInvoicesWithDifferentCurrenciesInSamePayment'; return -1;