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:
b7d5c93
)
Nicht abgefangene Typenkonvertierung in SL/Template.pm
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 28 Oct 2009 10:26:04 +0000
(11:26 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 28 Oct 2009 10:26:04 +0000
(11:26 +0100)
SL/Template.pm
patch
|
blob
|
history
diff --git
a/SL/Template.pm
b/SL/Template.pm
index
b112b2c
..
5831270
100644
(file)
--- a/
SL/Template.pm
+++ b/
SL/Template.pm
@@
-269,9
+269,9
@@
sub parse_foreach {
my $sum = 0;
my $current_page = 1;
my ($current_line, $corrent_row) = (0, 1);
my $sum = 0;
my $current_page = 1;
my ($current_line, $corrent_row) = (0, 1);
- my $description_array = $self->_get_loop_variable("description", 1);
- my $longdescription_array = $self->_get_loop_variable("longdescription", 1);
- my $linetotal_array = $self->_get_loop_variable("linetotal", 1);
+ my $description_array = $self->_get_loop_variable("description", 1)
|| []
;
+ my $longdescription_array = $self->_get_loop_variable("longdescription", 1)
|| []
;
+ my $linetotal_array = $self->_get_loop_variable("linetotal", 1)
|| []
;
$form->{TEMPLATE_ARRAYS}->{cumulatelinetotal} = [];
$form->{TEMPLATE_ARRAYS}->{cumulatelinetotal} = [];