Remove more instances of _nullArray
authorSeamus Lee <seamuslee001@gmail.com>
Sun, 16 Jun 2019 22:19:50 +0000 (08:19 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Sun, 16 Jun 2019 22:23:09 +0000 (08:23 +1000)
CRM/Price/BAO/LineItem.php

index 6119f194780c5f9855566a8c2b68c1b0eb3a61ab..b6e95b855c98c703c6468d62f548cd3b8bfac432 100644 (file)
@@ -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 = [