From 5ebf013d4ec110a34c968d1736bb8cf44251a278 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Tue, 22 Oct 2024 16:54:38 -0700 Subject: [PATCH] Add comment --- app/Http/Controllers/ReportsController.php | 1 + 1 file changed, 1 insertion(+) 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