From 4e101f000907c8d0ec13ad955d81473c5a6ad22e Mon Sep 17 00:00:00 2001 From: kGablo Date: Mon, 22 Jan 2024 11:33:39 +0100 Subject: [PATCH] Direct fix --- Model/ApiFacade/Transaction/TransactionApiFacade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/ApiFacade/Transaction/TransactionApiFacade.php b/Model/ApiFacade/Transaction/TransactionApiFacade.php index 99d4e2f..8908b15 100755 --- a/Model/ApiFacade/Transaction/TransactionApiFacade.php +++ b/Model/ApiFacade/Transaction/TransactionApiFacade.php @@ -98,7 +98,7 @@ public function translateGroupToChannel(array $data, bool $redirectToChannel): a public function originApiFieldCorrect(array $data): array { - if (!$this->isOpenApiUse() && (int) $data['group'] != TransactionOriginApi::BLIK_CHANNEL) { + if (!$this->isOpenApiUse() && TransactionOriginApi::BLIK_CHANNEL != (int) $data['group']) { unset($data['channel']); unset($data['currency']); unset($data['language']);