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:
parent
62d1f73448
commit
013726fda2
1 changed files with 1 additions and 3 deletions
|
@ -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')){
|
||||
|
|
Loading…
Reference in a new issue