From: Sven Schöling Date: Thu, 29 Oct 2009 09:41:04 +0000 (+0100) Subject: Bugfix: Reportgenerator csv_export hatte einen Fehler der sctrict zutage getreten... X-Git-Tag: release-2.6.1beta1~142 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1c2b6d083a94cd5d3d83c696ac971b566d69bf8b;p=kivitendo-erp.git Bugfix: Reportgenerator csv_export hatte einen Fehler der sctrict zutage getreten ist. --- 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} });