From b379e59df8442abeea4a913e0e2f669011501b19 Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Tue, 22 Oct 2019 15:35:28 +0100 Subject: [PATCH] Remove a redundant call to formatParamsForPaymentProcessor in AdditionalPayment form --- CRM/Contribute/Form/AdditionalPayment.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CRM/Contribute/Form/AdditionalPayment.php b/CRM/Contribute/Form/AdditionalPayment.php index 616a545a54..6539a837ba 100644 --- a/CRM/Contribute/Form/AdditionalPayment.php +++ b/CRM/Contribute/Form/AdditionalPayment.php @@ -399,8 +399,6 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract $this->assign('displayName', $this->userDisplayName); } - $this->formatParamsForPaymentProcessor($this->_params); - $this->_params['amount'] = $this->_params['total_amount']; // @todo - stop setting amount level in this function & call the CRM_Price_BAO_PriceSet::getAmountLevel // function to get correct amount level consistently. Remove setting of the amount level in -- 2.25.1