From 2ec3649dc856546f85c6077e52344beb8c41683b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 9 Nov 2023 19:46:35 +0000 Subject: [PATCH] Bug 35290: (follow-up) Perltidy formatting corrections Signed-off-by: Nick Clemens JD amended patch: fix shebang indent line Signed-off-by: Jonathan Druart --- cataloguing/ysearch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cataloguing/ysearch.pl b/cataloguing/ysearch.pl index 609f4cb0b1..22cebedda3 100755 --- a/cataloguing/ysearch.pl +++ b/cataloguing/ysearch.pl @@ -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' ); -- 2.39.5