diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 16888fe85f..032d14b89f 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -447,7 +447,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; }