Skip to content
Snippets Groups Projects
Unverified Commit 0dc105e1 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #19807 from jaapjansma/dev_2449

Fixed issue #2449: remove an unnecessary call to cleanMoney
parents ad3d11fb 0ff3bef9
Branches
Tags
No related merge requests found
......@@ -2770,10 +2770,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
if (!empty($form->_paymentProcessor)) {
$contributionParams['payment_instrument_id'] = $paymentParams['payment_instrument_id'] = $form->_paymentProcessor['payment_instrument_id'];
}
// @todo this is the wrong place for this - it should be done as close to form submission
// as possible
$paymentParams['amount'] = CRM_Utils_Rule::cleanMoney($paymentParams['amount']);
$contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution(
$form,
$paymentParams,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment