From 5c0694f1056074109ad57b521095916c77f44249 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 --- cataloguing/ysearch.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cataloguing/ysearch.pl b/cataloguing/ysearch.pl index 609f4cb0b17..0655de9b9ad 100755 --- a/cataloguing/ysearch.pl +++ b/cataloguing/ysearch.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl + #!/usr/bin/perl # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) @@ -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.30.2