Bug 5549 : Fixing link to calendar
authorChris Cormack <chrisc@catalyst.net.nz>
Sun, 29 Jan 2012 19:39:02 +0000 (13:39 -0600)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 20 Mar 2012 00:31:56 +0000 (13:31 +1300)
C4/Circulation.pm

index d5584c2..6a9affa 100644 (file)
@@ -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() );