Remove a redundant call to formatParamsForPaymentProcessor in AdditionalPayment form
authorMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Tue, 22 Oct 2019 14:35:28 +0000 (15:35 +0100)
committerMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Tue, 22 Oct 2019 14:35:28 +0000 (15:35 +0100)
CRM/Contribute/Form/AdditionalPayment.php

index 616a545a54fe88fb49602ae8419630dac0545acb..6539a837ba07c71843a0adbe4c160e1c4ec98ff3 100644 (file)
@@ -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