Skip to content

Commit

Permalink
Remove more instances of _nullArray
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Jun 16, 2019
1 parent b2ffd68 commit 2af8ae4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CRM/Price/BAO/LineItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -1212,9 +1212,7 @@ protected function _recordAdjustedAmt($updatedAmount, $contributionId, $taxAmoun
$updatedContributionDAO->save();
// adjusted amount financial_trxn creation
$updatedContribution = CRM_Contribute_BAO_Contribution::getValues(
['id' => $contributionId],
CRM_Core_DAO::$_nullArray,
CRM_Core_DAO::$_nullArray
['id' => $contributionId]
);
$toFinancialAccount = CRM_Contribute_PseudoConstant::getRelationalFinancialAccount($updatedContribution->financial_type_id, 'Accounts Receivable Account is');
$adjustedTrxnValues = [
Expand Down

0 comments on commit 2af8ae4

Please sign in to comment.