From f506e771546964e30fc0a014f3b85c4bf1199a52 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 25 May 2022 14:34:55 +0000 Subject: [PATCH] Bug 30847: Don't declare undef variable for assignment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit New holds have found set to undef - we can do this directly Signed-off-by: Owen Leonard Rebased-by: Victor Grousset/tuxayo Signed-off-by: Joonas Kylmälä Signed-off-by: Tomas Cohen Arazi --- opac/opac-reserve.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index bf7525f2f8..30fa544267 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -243,7 +243,6 @@ if ( $query->param('place_reserve') ) { } my $biblioData = $biblioDataHash{$biblioNum}; - my $found; # Check for user supplied reserve date my $startdate; @@ -299,7 +298,7 @@ if ( $query->param('place_reserve') ) { notes => $notes, title => $biblioData->{title}, itemnumber => $itemNum, - found => $found, + found => undef, itemtype => $itemtype, } ); -- 2.39.5