(bug #3329) Dependency missing in inventory.pl
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Mon, 15 Jun 2009 10:19:37 +0000 (12:19 +0200)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 15 Jun 2009 17:43:29 +0000 (12:43 -0500)
The called function AddReturn is in C4::Circulation which is not loaded, this patch do it.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
tools/inventory.pl

index f3de234..8474d7d 100755 (executable)
@@ -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') || '';