From 1c2b6d083a94cd5d3d83c696ac971b566d69bf8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 29 Oct 2009 10:41:04 +0100 Subject: [PATCH] Bugfix: Reportgenerator csv_export hatte einen Fehler der sctrict zutage getreten ist. --- SL/ReportGenerator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index 402f89d43..b90b65529 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -761,7 +761,7 @@ sub generate_csv_content { next; } - my $num_output = ($col->{colspan} && ($col->{colspan} > 1)) ? $col->{colspan} : 1; + my $num_output = ($row->{$col}{colspan} && ($row->{$col}->{colspan} > 1)) ? $row->{$col}->{colspan} : 1; $skip_next = $num_output - 1; push @data, join($eol, map { s/\r?\n/$eol/g; $_ } @{ $row->{$col}->{data} }); -- 2.20.1