Skip to content

Commit

Permalink
Merge pull request #11659 from JMAConsulting/ut-fix
Browse files Browse the repository at this point in the history
Unit test fixes
  • Loading branch information
eileenmcnaughton authored Feb 8, 2018
2 parents 49b24c3 + 2e813c4 commit adfb80c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CRM/Contribute/Form/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -1616,9 +1616,7 @@ protected function submit($submittedValues, $action, $pledgePaymentID) {
}
$params['line_item'] = $lineItem;
$params['payment_processor_id'] = $params['payment_processor'] = CRM_Utils_Array::value('id', $this->_paymentProcessor);
if (isset($this->_values['tax_amount'])) {
$params['tax_amount'] = $this->_values['tax_amount'];
}
$params['tax_amount'] = CRM_Utils_Array::value('tax_amount', $submittedValues, CRM_Utils_Array::value('tax_amount', $this->_values));
//create contribution.
if ($isQuickConfig) {
$params['is_quick_config'] = 1;
Expand Down

0 comments on commit adfb80c

Please sign in to comment.