[Koha-bugs] [Bug 11331] CSV export for viewlog.pl is missing newlines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 10 03:34:03 CET 2015


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

--- Comment #15 from Mason James <mtj at kohaaloha.com> ---
(In reply to Mason James from comment #14)
> > 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 "];"
> 
> 
> reopening bug to fix this new error


fyi: i think the following mod might fix the above fatal


- my @headings = grep { $_ ne 'action_id' } sort keys $data[0];
+ my @headings = grep { $_ ne 'action_id' } sort keys %{$data[0]};

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list