X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/57bf9c89a037036fcf433de39643778854defe51..f0e64d77dee59da736fc61304e45ad50210faa55:/SL/ReportGenerator.pm?ds=inline 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} });