X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FReportGenerator.pm;h=e23bf77865ccbb189ca537770ad36a3d3c8440cd;hb=7a6044728948035cb42964d764c93038e88a914b;hp=b90b65529f36f84f9946245a19fd8de9746cfbb5;hpb=1c2b6d083a94cd5d3d83c696ac971b566d69bf8b;p=kivitendo-erp.git diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index b90b65529..e23bf7786 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -512,7 +512,7 @@ sub generate_pdf_content { my $col_idx = 0; foreach my $col_name (@visible_columns) { my $col = $row->{$col_name}; - push @{ $data_row }, $self->_decode_text(join("\n", @{ $col->{data} })); + push @{ $data_row }, $self->_decode_text(join("\n", @{ $col->{data} || [] })); $column_props[$col_idx]->{justify} = 'right' if ($col->{align} eq 'right');