From bb69b9528feb7ac8ffe60719d712152ab6c1ee73 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 declrae undef variable for assignment New holds have found set to undef - we can do this directly --- 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 23da777b3cf..a8a5ce68496 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -246,7 +246,6 @@ if ( $query->param('place_reserve') ) { } my $biblioData = $biblioDataHash{$biblioNum}; - my $found; # Check for user supplied reserve date my $startdate; @@ -302,7 +301,7 @@ if ( $query->param('place_reserve') ) { notes => $notes, title => $biblioData->{title}, itemnumber => $itemNum, - found => $found, + found => undef, itemtype => $itemtype, } ); -- 2.25.1