We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e88f74 commit 85496aaCopy full SHA for 85496aa
src/controllers/PaymentsController.php
@@ -443,7 +443,7 @@ public function actionPay(): ?Response
443
// Payment amount in the CP accepts number based in the user's formatting locale
444
$cpPaymentAmount = $this->request->getBodyParam('paymentAmount');
445
446
- if(is_array($cpPaymentAmount)) {
+ if (is_array($cpPaymentAmount)) {
447
$cpPaymentAmount = $cpPaymentAmount['value'];
448
}
449
$cpPaymentAmount = Localization::normalizeNumber($cpPaymentAmount);
0 commit comments