From ff2b608c9c1eb2b866fb648d51902951bd8f36ae 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 --- 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.34.0