From 766e1475abd00f1a6006f22051d937a4a14ba742 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Thu, 8 Jul 2010 16:21:01 -0400 Subject: [PATCH] Fixes Bug 4978: longoverdues.pl claims undefined subroutine ModItem Adds an explicit C4::Items:: prefix to the ModItem call on line 323 Signed-off-by: Galen Charlton --- C4/Accounts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Accounts.pm b/C4/Accounts.pm index ff2188b4db..610f0f422d 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; } -- 2.20.1