From c79cfba5691f40b4c2e6b34e410ca6d10c81fcc9 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 21 Mar 2013 11:24:38 +0100 Subject: [PATCH] [Signed off] Bug 7639 tiny QA follow-up no need to create a variable just to call to send it as parameter the line after Signed off by: Alex Hatley --- C4/Circulation.pm | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index fb90a75..2c15a8e 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3298,9 +3298,7 @@ sub LostItem{ my $borrower = C4::Members::GetMemberDetails( $borrowernumber ); if (C4::Context->preference('WhenLostForgiveFine')){ - my $exemptfine=1; - my $dropbox=0; - my $fix = _FixOverduesOnReturn($borrowernumber, $itemnumber, $exemptfine, $dropbox); + my $fix = _FixOverduesOnReturn($borrowernumber, $itemnumber, 1, 0); # 1, 0 = exemptfine, no-dropbox defined($fix) or warn "_FixOverduesOnReturn($borrowernumber, $itemnumber...) failed!"; # zero is OK, check defined } if (C4::Context->preference('WhenLostChargeReplacementFee')){ -- 1.7.2.5