From fcd7e9323bca5c880aede409cca40e716d16489c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 13 Dec 2006 16:29:52 +0000 Subject: [PATCH] =?utf8?q?Keine=20globalen=20Variablen=20benutzen/=C3=BCbe?= =?utf8?q?rschreiben.=20Fix=20f=C3=BCr=20Bugzilla=20#450.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/is.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index df3062f81..1be623fe8 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -261,10 +261,11 @@ sub prepare_invoice { # # get pricegroups for parts # IS->get_pricegroups_for_parts(\%myconfig, \%$form); + my $i = 0; + foreach $ref (@{ $form->{invoice_details} }) { $i++; - map { $form->{"${_}_$i"} = $ref->{$_} } keys %{$ref}; $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100); -- 2.20.1