From: Sven Schöling Date: Thu, 25 Feb 2016 17:54:44 +0000 (+0100) Subject: PDF::Table: Zusätzliche header richtigrum anzeigen X-Git-Tag: release-3.4.1~393 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8986229648df7f4adaad2606c9fe16b54569781e;p=kivitendo-erp.git PDF::Table: Zusätzliche header richtigrum anzeigen --- diff --git a/modules/override/PDF/Table.pm b/modules/override/PDF/Table.pm index fd83d0438..7ebe16fa4 100644 --- a/modules/override/PDF/Table.pm +++ b/modules/override/PDF/Table.pm @@ -584,11 +584,9 @@ sub table if( ref $header_props and $header_props->{'repeat'}) { - for my $idx (0 .. $header_props->{num_header_rows} - 1) { - unshift @$data, [ @{ $header_rows[$idx] } ]; - unshift @$row_col_widths, [ @{ $header_row_widths[$idx] } ]; - unshift @$rows_height, $header_row_heights[$idx]; - } + unshift @$data, @header_rows; + unshift @$row_col_widths, @header_row_widths; + unshift @$rows_height, @header_row_heights; $remaining_header_rows = $header_props->{num_header_rows}; } }