diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index ec8fdc1df9..9def2a4c3d 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -398,6 +398,7 @@ class ReportsController extends Controller $this->authorize('reports.view'); $customfields = CustomField::get(); $report_templates = ReportTemplate::orderBy('name')->get(); + // view needs template to render correctly, even if it is empty... $template = new ReportTemplate; // Set the report's input values if we were redirected back with