From 49ba0df9e7925bf3bab66cbca22589076cdf887b Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 24 Apr 2012 14:27:58 +0100 Subject: [PATCH] Fix typo in patch for bug 7849 $type declared twice effectively throwing away the returned value Signed-off-by: Paul Poulain --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index b7e08f2e50..3742ec7134 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -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},