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:
752642d
)
<pagebreak> auch in der Langbeschreibung auswerten.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 8 Dec 2008 16:10:18 +0000
(16:10 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 8 Dec 2008 16:10:18 +0000
(16:10 +0000)
SL/Template.pm
patch
|
blob
|
history
diff --git
a/SL/Template.pm
b/SL/Template.pm
index
6da93d9
..
8a9e683
100644
(file)
--- 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] =~ /<pagebreak>/)) {
+ if ((($current_line + $lines) > $lpp) || ($form->{"description"}->[$i] =~ /<pagebreak>/) || ($form->{"longdescription"}->[$i] =~ /<pagebreak>/)) {
my $pb = $self->{"pagebreak_block"};
# replace the special variables <%sumcarriedforward%>