From: Matthew Wire (MJW Consulting) Date: Tue, 22 Oct 2019 14:35:28 +0000 (+0100) Subject: Remove a redundant call to formatParamsForPaymentProcessor in AdditionalPayment form X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b379e59df8442abeea4a913e0e2f669011501b19;p=civicrm-core.git Remove a redundant call to formatParamsForPaymentProcessor in AdditionalPayment form --- 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