File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -398,11 +398,12 @@ public function getCustomReport(Request $request) : View
398398 $ this ->authorize ('reports.view ' );
399399 $ customfields = CustomField::get ();
400400 $ report_templates = ReportTemplate::orderBy ('name ' )->get ();
401- // view needs template to render correctly, even if it is empty...
401+
402+ // The view needs a template to render correctly, even if it is empty...
402403 $ template = new ReportTemplate ;
403404
404- // Set the report's input values if we were redirected back with
405- // validation errors so the report is populated as expected.
405+ // Set the report's input values in the cases we were redirected back
406+ // with validation errors so the report is populated as expected.
406407 if ($ request ->old ()) {
407408 $ template ->name = $ request ->old ('name ' );
408409 $ template ->options = $ request ->old ();
You can’t perform that action at this time.
0 commit comments