Skip to content

Commit

Permalink
Merge pull request #13300 from eileenmcnaughton/net_fix
Browse files Browse the repository at this point in the history
Fix netAmount null object on freeze
  • Loading branch information
seamuslee001 authored Dec 17, 2018
2 parents 1848828 + 479c6e8 commit 936ff2f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CRM/Contribute/Form/AdditionalInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public static function buildAdditionalDetail(&$form) {

$statusName = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name');
if ($form->_id && $form->_values['contribution_status_id'] == array_search('Cancelled', $statusName)) {
$netAmount->freeze();
$feeAmount->freeze();
}

Expand Down

0 comments on commit 936ff2f

Please sign in to comment.