From: Sven Schöling Date: Tue, 27 Apr 2010 16:28:20 +0000 (+0200) Subject: Strict fix im Reportgenerator X-Git-Tag: release-2.6.2beta1~342^2~5 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=969fc342452c5df14e5c50b0df14fb884f83590f;p=kivitendo-erp.git Strict fix im Reportgenerator --- 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');