From f380181fc4bc5581558f3582d29f3156be5f6b74 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- 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 c3c104aaf2..85b42c4efb 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.39.5