The called function AddReturn is in C4::Circulation which is not loaded, this 
patch do it.
---
 tools/inventory.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/inventory.pl b/tools/inventory.pl
index 8a9d44f..a6c8dc3 100755
--- a/tools/inventory.pl
+++ b/tools/inventory.pl
@@ -27,6 +27,7 @@ use C4::Items;
 use C4::Dates qw/format_date format_date_in_iso/;
 use C4::Koha;
 use C4::Branch; # GetBranches
+use C4::Circulation;
 
 my $input = new CGI;
 my $minlocation=$input->param('minlocation') || '';
-- 
1.6.0.4

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to