From 0c15a1ded4b8ad1dee26a222de5b144d412af739 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 29 Jan 2012 13:39:02 -0600 Subject: [PATCH] Bug 5549 : Fixing link to calendar --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index d5584c24ae..6a9affadbf 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1794,7 +1794,7 @@ sub _FixFineDaysOnReturn { } my $branchcode = _GetCircControlBranch( $item, $borrower ); - my $calendar = C4::Calendar->new( branchcode => $branchcode ); + my $calendar = Koha::Calendar->new( branchcode => $branchcode ); my $today = C4::Dates->new(); my $deltadays = $calendar->daysBetween( $datedue, C4::Dates->new() ); -- 2.39.5