Skip to content

Commit

Permalink
Merge pull request #22016 from demeritcowboy/histreport-entryfound
Browse files Browse the repository at this point in the history
dev/report#77 - Unused variable in contribute/history civireport
  • Loading branch information
seamuslee001 authored Nov 10, 2021
2 parents f982eb1 + b2f2700 commit 3f1184d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CRM/Report/Form/Contribute/History.php
Original file line number Diff line number Diff line change
Expand Up @@ -839,12 +839,10 @@ public function alterDisplay(&$rows) {

if (!empty($row['civicrm_financial_trxn_card_type_id'])) {
$rows[$rowNum]['civicrm_financial_trxn_card_type_id'] = $this->getLabels($row['civicrm_financial_trxn_card_type_id'], 'CRM_Financial_DAO_FinancialTrxn', 'card_type_id');
$entryFound = TRUE;
}

$entryFound = $this->alterDisplayContactFields($row, $rows, $rowNum, NULL, NULL) ? TRUE : $entryFound;
$entryFound = $this->alterDisplayAddressFields($row, $rows, $rowNum, NULL, NULL) ? TRUE : $entryFound;

$this->alterDisplayContactFields($row, $rows, $rowNum, NULL, NULL);
$this->alterDisplayAddressFields($row, $rows, $rowNum, NULL, NULL);
}
}

Expand Down

0 comments on commit 3f1184d

Please sign in to comment.