From f28770a79b9d60fd2a09fd121563abcf36318ee4 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 22 Mar 2012 09:13:33 +0100 Subject: [PATCH] Neues Bestandteil an richtige Position in Erzeugniseinzelteileliste kopieren --- bin/mozilla/ic.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 2ada087cb..0b607da1d 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -1844,7 +1844,7 @@ sub save { qw(weight listprice sellprice rop); $form->{assembly_rows}--; - $i = $newform{rowcount}; + $i = $form->{assembly_rows}; $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"}); $form->{sellprice} -= $form->{"sellprice_$i"} * $form->{"qty_$i"}; -- 2.20.1