From fdb14a8572b2345702e4bae9801cccb7b154508f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 22 Jul 2009 17:28:10 +0200 Subject: [PATCH] Auch wirklich $form->{TEMPLATE_ARRAYS}->{...} initialisieren, und nicht nur den Key ansprechen. --- SL/IS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/IS.pm b/SL/IS.pm index b19705364..2550393fe 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -155,7 +155,7 @@ sub invoice_details { my @payment_arrays = qw(payment paymentaccount paymentdate paymentsource paymentmemo); - map { $form->{TEMPLATE_ARRAYS}{$_} => [] } (@arrays, @tax_arrays, @payment_arrays); + map { $form->{TEMPLATE_ARRAYS}->{$_} = [] } (@arrays, @tax_arrays, @payment_arrays); foreach $item (sort { $a->[1] cmp $b->[1] } @partsgroup) { $i = $item->[0]; -- 2.20.1