From 400e3ab01e7f8c3c1910921c086c3909529778d5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 3 Mar 2010 17:36:43 +0100 Subject: [PATCH] =?utf8?q?Beim=20Hinzuf=C3=BCgen=20von=20Artikeln=20Menge?= =?utf8?q?=20auf=201=20setzen,=20falls=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix für Bug 1250. --- bin/mozilla/do.pl | 2 +- bin/mozilla/ir.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 1c546e498..fa3be49a2 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -359,7 +359,7 @@ sub update_delivery_order { my $rows = scalar @{ $form->{item_list} }; if ($rows) { - $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"}); + $form->{"qty_$i"} = 1 unless $form->parse_amount(\%myconfig, $form->{"qty_$i"}); if ($rows > 1) { diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 09ef5249c..042fd4be9 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -463,7 +463,7 @@ sub update { my $rows = scalar @{ $form->{item_list} }; if ($rows) { - $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"}); + $form->{"qty_$i"} = 1 unless $form->parse_amount(\%myconfig, $form->{"qty_$i"}); if ($rows > 1) { -- 2.20.1