X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/f6a2cdd5fdb9b39dc28317ebf61e1726c32157cf..ea43d77bdaf75a43472261a971b29e732a410321:/SL/Template.pm diff --git a/SL/Template.pm b/SL/Template.pm index 6da93d9b3..8a9e68326 100644 --- a/SL/Template.pm +++ b/SL/Template.pm @@ -180,8 +180,7 @@ sub parse_foreach { } # Yes we need a manual page break -- or the user has forced one - if ((($current_line + $lines) > $lpp) || - ($form->{"description"}->[$i] =~ //)) { + if ((($current_line + $lines) > $lpp) || ($form->{"description"}->[$i] =~ //) || ($form->{"longdescription"}->[$i] =~ //)) { my $pb = $self->{"pagebreak_block"}; # replace the special variables <%sumcarriedforward%>