Bug 7684: (follow-up) fix crash when generating the CSV
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 <koha.aixmarseille@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
f86a16182b
commit
a24debb150
1 changed files with 1 additions and 1 deletions
|
@ -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/[^\.]*\.//;
|
||||
|
|
Loading…
Reference in a new issue