From 013726fda2f52fe6226402dbfd6fb941d5923778 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 21 Mar 2013 11:24:38 +0100 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Galen Charlton --- C4/Circulation.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 16575a4fbc..b775b4fad5 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3310,9 +3310,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')){ -- 2.39.5