projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b43a8
)
Reportgeerator: Reportzelle richtig initialisieren.
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 23 Oct 2009 16:11:48 +0000
(18:11 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 23 Oct 2009 16:11:48 +0000
(18:11 +0200)
SL/ReportGenerator.pm
patch
|
blob
|
history
diff --git
a/SL/ReportGenerator.pm
b/SL/ReportGenerator.pm
index
6c61acb
..
402f89d
100644
(file)
--- a/
SL/ReportGenerator.pm
+++ b/
SL/ReportGenerator.pm
@@
-1,7
+1,6
@@
package SL::ReportGenerator;
-#use strict;
-
+use Data::Dumper;
use Encode;
use IO::Wrap;
use List::Util qw(max);
@@
-338,7
+337,7
@@
sub prepare_html_content {
next;
}
- my $col = $row->{$col_name};
+ my $col = $row->{$col_name}
|| { data => [] }
;
$col->{CELL_ROWS} = [ ];
foreach my $i (0 .. scalar(@{ $col->{data} }) - 1) {
push @{ $col->{CELL_ROWS} }, {