diff --git a/app/models/miq_report_result.rb b/app/models/miq_report_result.rb index b0a0656f8a5..4ac740e0642 100644 --- a/app/models/miq_report_result.rb +++ b/app/models/miq_report_result.rb @@ -274,7 +274,7 @@ def _async_generate_result(taskid, result_type, options = {}) new_res.report_results = user.with_my_timezone do case result_type.to_sym when :csv then rpt.to_csv - when :pdf then to_pdf + when :pdf then html_rows.join when :txt then rpt.to_text else raise _("Result type %{result_type} not supported") % {:result_type => result_type}