http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11331

--- Comment #13 from Jonathan Druart <jonathan.dru...@biblibre.com> ---
Comment on attachment 30493
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30493
[PASSED QA] Bug 11331 - CSV export for viewlog.pl is missing newlines

Review of attachment 30493:
 --> 
(http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11331&attachment=30493)
-----------------------------------------------------------------

::: tools/viewlog.pl
@@ +201,5 @@
> +            my $csv = Text::CSV::Encoded->new( { encoding_out => 'utf8', 
> sep_char => $delimiter } );
> +            $csv or die "Text::CSV::Encoded->new FAILED: " . 
> Text::CSV::Encoded->error_diag();
> +            # First line with heading
> +            # Exporting bd id seems useless
> +            my @headings = grep { $_ ne 'action_id' } sort keys $data[0];

Raises an error with perl <= 5.10

Type of arg 1 to keys must be hash (not array element) at
/home/koha/src/tools/viewlog.pl line 214, near "];"

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to