Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Dec 11, 2024
1 parent 6e88f74 commit 85496aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/PaymentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 85496aa

Please sign in to comment.