Bug 34456: (QA follow-up) perltidy code
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
38a9c08722
commit
f380181fc4
1 changed files with 17 additions and 4 deletions
|
@ -990,11 +990,24 @@ elsif ($phase eq 'Export'){
|
||||||
unlink $ods_filepath;
|
unlink $ods_filepath;
|
||||||
}
|
}
|
||||||
elsif ( $format eq 'template' ) {
|
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 $notice_template = Koha::Notice::Templates->find($template_id);
|
||||||
my $data = $sth->fetchall_arrayref({});
|
my $data = $sth->fetchall_arrayref( {} );
|
||||||
$content = process_tt( $notice_template->content, { data => $data, report_id => $report_id, for_download => 1 } );
|
$content = process_tt(
|
||||||
$reportfilename = process_tt( $notice_template->title, { data => $data, report_id => $report_id } );
|
$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(
|
print $input->header(
|
||||||
|
|
Loading…
Reference in a new issue