From: Wulf Date: Wed, 7 Nov 2012 15:47:07 +0000 (+0100) Subject: fix #2073 X-Git-Tag: release-3.0.0beta1~14^2~6^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0e792d9b96ce39353faa161fd97c5588b2a609f8;p=kivitendo-erp.git fix #2073 --- diff --git a/SL/IS.pm b/SL/IS.pm index db18d5a43..9b1766961 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -2130,14 +2130,12 @@ sub get_pricegroups_for_parts { $pkr->{selected} = ' selected'; # unless $form->{selected}; # no customer pricesgroup set - if ($pkr->{price_unfmt} == $pkr->{default_sellprice}) { + if ($pkr->{price_unfmt} == $pkr->{default_sellprice} || $form->{'sellprice_'.$i} * 1 > 1) { $pkr->{price} = $form->{"sellprice_$i"}; } else { -# this sub should not set anything and only return. --sschoeling, 20090506 -# is this correct? put in again... -- grichardson 20110119 $form->{"sellprice_$i"} = $pkr->{price}; }