@@ -, +, @@ --- C4/Reserves.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/C4/Reserves.pm +++ a/C4/Reserves.pm @@ -1309,6 +1309,8 @@ sub IsAvailableForItemLevelRequest { # looped outside of IsAvailableForItemLevelRequest to avoid nested loops: my $items_any_available = shift; + return 0 unless $patron; + my $dbh = C4::Context->dbh; # must check the notforloan setting of the itemtype # FIXME - a lot of places in the code do this --