From b71b35308c2f7c628666e4a69e6c3b90cefc5ed0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 22 Jan 2010 17:03:28 +0100 Subject: [PATCH] regression beim laden von positionen belegen -> qty auf 1 funktionierte nicht. --- bin/mozilla/oe.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index da09648ca..fd019eedc 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -558,7 +558,7 @@ sub update { $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"$form->{vc}_discount"} * 100); 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