Skip to content

Commit

Permalink
Refs #42474, Fix method signature in TaiwanTax::endPostProcess to mat…
Browse files Browse the repository at this point in the history
…ch parent declaration.
  • Loading branch information
apple843119 committed Jan 15, 2025
1 parent 3a0fa0e commit 3fc2d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Report/Form/Contribute/TaiwanTax.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function postProcess() {
parent::postProcess();
}

function endPostProcess($rows) {
function endPostProcess(&$rows = NULL) {
if ($this->_outputMode == 'csv') {
$year = $rows[0]['civicrm_contribution_receive_date'];
CRM_Report_Utils_Report::export2xls($this, $rows, $year . '_' . ts('Your SIC Code'). '.xlsx');
Expand Down

0 comments on commit 3fc2d56

Please sign in to comment.