diff --git a/lib/xls_report/cost_reports_controller_patch.rb b/lib/xls_report/cost_reports_controller_patch.rb index 6366397b9f..528ce03bb7 100644 --- a/lib/xls_report/cost_reports_controller_patch.rb +++ b/lib/xls_report/cost_reports_controller_patch.rb @@ -57,7 +57,7 @@ if require_dependency 'cost_reports_controller' def report_to_xls find_optional_project generate_query - set_cost_type + set_cost_types sb = SpreadsheetBuilder.new sb.add_title("#{@project.name + " >> " if @project}#{l(:cost_reports_title)} (#{format_date(Date.today)})")