From f72be40f814e8dbf449bc70cc26105a72516c443 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 11 Oct 2013 16:29:34 +0200 Subject: [PATCH] Bug 7684: Argument missing The cgi argument in missing for routine C4::Reports::Guided::_get_column_defs. It causes a crash on generating the CSV file. Signed-off-by: Koha Team Amu Signed-off-by: Kyle M Hall --- tools/inventory.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/inventory.pl b/tools/inventory.pl index dbd73ac..f5a542b 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -296,7 +296,7 @@ if (defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on'){ -attachment => 'inventory.csv', ); - my $columns_def_hashref = C4::Reports::Guided::_get_column_defs(); + my $columns_def_hashref = C4::Reports::Guided::_get_column_defs($input); foreach my $key ( keys %$columns_def_hashref ) { my $initkey = $key; $key =~ s/[^\.]*\.//; -- 1.7.2.5