diff --git a/src/controllers/PaymentsController.php b/src/controllers/PaymentsController.php index fade889fec..cf0e21843d 100644 --- a/src/controllers/PaymentsController.php +++ b/src/controllers/PaymentsController.php @@ -443,7 +443,7 @@ public function actionPay(): ?Response // Payment amount in the CP accepts number based in the user's formatting locale $cpPaymentAmount = $this->request->getBodyParam('paymentAmount'); - if(is_array($cpPaymentAmount)) { + if (is_array($cpPaymentAmount)) { $cpPaymentAmount = $cpPaymentAmount['value']; } $cpPaymentAmount = Localization::normalizeNumber($cpPaymentAmount);