projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ffd68
)
Remove more instances of _nullArray
author
Seamus Lee
<seamuslee001@gmail.com>
Sun, 16 Jun 2019 22:19:50 +0000
(08:19 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Sun, 16 Jun 2019 22:23:09 +0000
(08:23 +1000)
CRM/Price/BAO/LineItem.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Price/BAO/LineItem.php
b/CRM/Price/BAO/LineItem.php
index 6119f194780c5f9855566a8c2b68c1b0eb3a61ab..b6e95b855c98c703c6468d62f548cd3b8bfac432 100644
(file)
--- a/
CRM/Price/BAO/LineItem.php
+++ b/
CRM/Price/BAO/LineItem.php
@@
-1212,9
+1212,7
@@
WHERE li.contribution_id = %1";
$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 = [