From: Moritz Bunkus Date: Mon, 8 Dec 2008 16:10:18 +0000 (+0000) Subject: auch in der Langbeschreibung auswerten. X-Git-Tag: release-2.6.0beta2~222 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=58b90d2d1159a4564f4ef0533669a506442e88eb;p=kivitendo-erp.git auch in der Langbeschreibung auswerten. --- 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%>