Skip to content

Commit

Permalink
Merge pull request #10706 from totten/master-regen-finact
Browse files Browse the repository at this point in the history
regen.sh - Fix stale function call in sql/GenerateData.php
  • Loading branch information
colemanw authored Jul 20, 2017
2 parents 79ce1b5 + 5056005 commit c1aaf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/GenerateData.php
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@ private function addAccountingEntries() {
$select = 'SELECT contribution.id contribution_id, cli.id as line_item_id, contribution.contact_id, contribution.receive_date, contribution.total_amount, contribution.currency, cli.label,
cli.financial_type_id, cefa.financial_account_id, contribution.payment_instrument_id, contribution.check_number, contribution.trxn_id';
$where = 'WHERE cefa.account_relationship = 1';
$financialAccountId = CRM_Financial_BAO_FinancialTypeAccount::getInstrumentFinancialAccount();
$financialAccountId = CRM_Financial_BAO_FinancialTypeAccount::getInstrumentFinancialAccount(4);
foreach ($components as $component) {
if ($component == 'contribution') {
$from = 'FROM `civicrm_contribution` contribution';
Expand Down

0 comments on commit c1aaf44

Please sign in to comment.