diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 2ba6b008e4..69e2ef2114 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -465,7 +465,8 @@ foreach my $biblioNum (@biblionumbers) { my $ItemBorrowerReserveInfo = GetMemberDetails( $reservedfor, 0); # the item could be reserved for this borrower vi a host record, flag this - if ($reservedfor eq $borrowernumber){ + $reservedfor //= ''; + if ($reservedfor eq $borrowernumber){ $itemLoopIter->{already_reserved} = 1; }