From c03fef0583db26448f027f7ed9b3d56549f66f4d Mon Sep 17 00:00:00 2001 From: oleonard Date: Tue, 18 Apr 2006 19:49:13 +0000 Subject: [PATCH] Typo in variable name was blocking reservations by anyone with any fines --- 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 7c04aba650..3245615ae5 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -235,7 +235,7 @@ if ($query->param('item_types_selected')) { } else { # Here we check that the borrower can actually make reserves Stage 1. my $noreserves = 0; - my $maxoutstanding = C4::Context->preference("maxoustanding"); + my $maxoutstanding = C4::Context->preference("maxoutstanding"); $template->param(noreserve => 1) unless $maxoutstanding; if ($borr->{'amountoutstanding'} > $maxoutstanding) { my $amount = sprintf "\$%.02f", $borr->{'amountoutstanding'}; -- 2.39.5