Bug 35290: (follow-up) Perltidy formatting corrections

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

JD amended patch: fix shebang indent line

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2023-11-09 19:46:35 +00:00 committed by Jonathan Druart
parent 1c26397b43
commit 2ec3649dc8
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ my $table = $input->param('table');
my $field = $input->param('field');
# Prevent from disclosing data
die() unless ($table eq "biblioitems");
die() unless ($field eq 'publishercode' || $field eq 'collectiontitle');
die() unless ( $table eq "biblioitems" );
die() unless ( $field eq 'publishercode' || $field eq 'collectiontitle' );
binmode STDOUT, ":encoding(UTF-8)";
print $input->header( -type => 'text/plain', -charset => 'UTF-8' );