diff --git a/CRM/Report/Form/Contribute/TaiwanTax.php b/CRM/Report/Form/Contribute/TaiwanTax.php index 15a3fd8ab..c5f9b6a8f 100644 --- a/CRM/Report/Form/Contribute/TaiwanTax.php +++ b/CRM/Report/Form/Contribute/TaiwanTax.php @@ -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');