X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ed023e22a9d47de1be5e7ebaf86885044e25b6ae..2a61343ffdeee475d57c355d00955ff8f1937aef:/bin/mozilla/do.pl?ds=sidebyside diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index df2fec8d7..cf0e806ce 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -396,7 +396,10 @@ sub update_delivery_order { my $rows = scalar @{ $form->{item_list} }; if ($rows) { - $form->{"qty_$i"} = 1 unless $form->parse_amount(\%myconfig, $form->{"qty_$i"}); + $form->{"qty_$i"} = $form->parse_amount(\%myconfig, $form->{"qty_$i"}); + if( !$form->{"qty_$i"} ) { + $form->{"qty_$i"} = 1; + } if ($rows > 1) {