Fix typo in patch for bug 7849
$type declared twice effectively throwing away the returned value Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
d06c231982
commit
49ba0df9e7
1 changed files with 1 additions and 1 deletions
|
@ -1616,7 +1616,7 @@ sub AddReturn {
|
|||
if ($borrowernumber) {
|
||||
if($issue->{'overdue'}){
|
||||
my ( $amount, $type, $daycounttotal ) = C4::Overdues::CalcFine( $item, $borrower->{categorycode},$branch, $datedue, $today );
|
||||
my $type ||= q{};
|
||||
$type ||= q{};
|
||||
if ( $amount > 0 && ( C4::Context->preference('finesMode') eq 'production' )) {
|
||||
C4::Overdues::UpdateFine(
|
||||
$issue->{itemnumber},
|
||||
|
|
Loading…
Reference in a new issue