From 902aee833968b1273f67bc50a836234e5a0d0940 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 31 Jan 2022 14:54:30 -1000 Subject: [PATCH] Bug 29562: (follow-up) typo $tem in opac-reserve.pl Signed-off-by: Fridolin Somers --- opac/opac-reserve.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index dc7127a9aa..e8810650f7 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -569,7 +569,7 @@ foreach my $biblioNum (@biblionumbers) { # items_any_available defined outside of the current loop, # so we avoiding loop inside IsAvailableForItemLevelRequest: $policy_holdallowed &&= - CanItemBeReserved( $patron, $tem )->{status} eq 'OK' && + CanItemBeReserved( $patron, $item )->{status} eq 'OK' && IsAvailableForItemLevelRequest($item, $patron, undef, $items_any_available); if ($policy_holdallowed) { -- 2.39.5