From ab62ac7ab6c33987940796e7b86971e91dce84da Mon Sep 17 00:00:00 2001 From: bob_lyon Date: Wed, 7 Jun 2006 02:07:10 +0000 Subject: [PATCH] fixing choosing wrong var for max amount issues number --- C4/Circulation/Circ2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index 331b04eb04..f853df0c90 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -798,7 +798,7 @@ sub canbookbeissued { # DEBTS my $amount = checkaccount($env,$borrower->{'borrowernumber'}, $dbh,$duedate); if($C4::Context->preference("IssuingInProcess")){ - my $amountlimit = $C4::Context->preference("maxoutstanding"); + my $amountlimit = $C4::Context->preference("noissuescharge"); if ($amount > $amountlimit && !$inprocess) { $issuingimpossible{DEBT} = sprintf("%.2f",$amount); } elsif ($amount <= $amountlimit && !$inprocess) { -- 2.39.5