Bug 30847: Don't declare undef variable for assignment

New holds have found set to undef - we can do this directly

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Rebased-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2022-05-25 14:34:55 +00:00 committed by Tomas Cohen Arazi
parent 4a27c81ae7
commit f506e77154
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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,
}
);