X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FReportGenerator.pm;h=588b824fdbc901d85e9937a340a7359c2605e22c;hb=943901c174e09b90b22fa33232c989b0c457d182;hp=e00b93f3d67b0cf58771b0a6923b86d16578cc1e;hpb=8da93f1d793292ae0754cf2c05aeb5919fdd2d04;p=kivitendo-erp.git diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index e00b93f3d..588b824fd 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -343,7 +343,7 @@ sub prepare_html_content { # will format the table cell (e.g. borders etc). if (!scalar @{ $col->{CELL_ROWS} }) { push @{ $col->{CELL_ROWS} }, { 'data' => ' ' }; - } elsif ((1 == scalar @{ $col->{CELL_ROWS} }) && !$col->{CELL_ROWS}->[0]->{data}) { + } elsif ((1 == scalar @{ $col->{CELL_ROWS} }) && (!defined $col->{CELL_ROWS}->[0]->{data} || ($col->{CELL_ROWS}->[0]->{data} eq ''))) { $col->{CELL_ROWS}->[0]->{data} = ' '; } }