X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate.pm;h=8a9e6832613272c50fd30de8e5ccc6e675a8aba0;hb=ff834130a049023b678b62032d31392a24082d07;hp=6da93d9b396806a0f6270c0f5054217dc3ddde36;hpb=f6a2cdd5fdb9b39dc28317ebf61e1726c32157cf;p=kivitendo-erp.git 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%>