From e6224ade3a4f4f8fafd81a2153548283c8e9e12d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 30 Oct 2023 13:31:47 -0400 Subject: [PATCH] Bug 34456: (QA follow-up) perltidy code --- reports/guided_reports.pl | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index c3c104aaf28..85b42c4efbb 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -990,11 +990,24 @@ elsif ($phase eq 'Export'){ unlink $ods_filepath; } elsif ( $format eq 'template' ) { - my $template_id = $input->param('template'); + my $template_id = $input->param('template'); my $notice_template = Koha::Notice::Templates->find($template_id); - my $data = $sth->fetchall_arrayref({}); - $content = process_tt( $notice_template->content, { data => $data, report_id => $report_id, for_download => 1 } ); - $reportfilename = process_tt( $notice_template->title, { data => $data, report_id => $report_id } ); + my $data = $sth->fetchall_arrayref( {} ); + $content = process_tt( + $notice_template->content, + { + data => $data, + report_id => $report_id, + for_download => 1, + } + ); + $reportfilename = process_tt( + $notice_template->title, + { + data => $data, + report_id => $report_id, + } + ); } } print $input->header( -- 2.30.2