From 4076e43d224f7c81d09e635671c53abb09cb5b75 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Wed, 21 Mar 2012 08:33:26 +1300 Subject: [PATCH] Bug 5549 : Fixing typo in C4/Circulation.pm days_between not daysBetween --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index d2aa9b6f02..59f01fae58 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1796,7 +1796,7 @@ sub _FixFineDaysOnReturn { my $calendar = Koha::Calendar->new( branchcode => $branchcode ); my $today = C4::Dates->new(); - my $deltadays = $calendar->daysBetween( $datedue, C4::Dates->new() ); + my $deltadays = $calendar->days_between( $datedue, C4::Dates->new() ); my $circcontrol = C4::Context::preference('CircControl'); my $issuingrule = GetIssuingRule( $borrower->{categorycode}, $item->{itype}, $branchcode ); -- 2.39.5