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 <alexh@cctexas.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Paul Poulain 2013-03-21 11:24:38 +01:00 committed by Galen Charlton
parent 62d1f73448
commit 013726fda2

View file

@ -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')){