From e0f8769c66dbe24f449b032a74417c12c55bcf28 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Thu, 8 Jul 2010 16:03:59 -0400 Subject: [PATCH] Add explicit package declaration to ModItem Content-Type: text/plain; charset="utf-8" --- C4/Accounts.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Accounts.pm b/C4/Accounts.pm index ff2188b..610f0f4 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -320,7 +320,7 @@ sub chargelostitem{ warn " $issues->{'borrowernumber'} / $itemnumber "; C4::Circulation::MarkIssueReturned($issues->{borrowernumber},$itemnumber); # Shouldn't MarkIssueReturned do this? - ModItem({ onloan => undef }, undef, $itemnumber); + C4::Items::ModItem({ onloan => undef }, undef, $itemnumber); } $sth->finish; } -- 1.5.6.5