From: Wulf Date: Fri, 16 Nov 2012 18:37:11 +0000 (+0100) Subject: Revert "fix #2037" X-Git-Tag: release-3.0.0beta2~11^2~6^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1e3c858f21781400103974c67630cb1e49d6668a;p=kivitendo-erp.git Revert "fix #2037" This reverts commit 0e792d9b96ce39353faa161fd97c5588b2a609f8. geht so nicht, finde aber auch keine Loesung --- diff --git a/SL/IS.pm b/SL/IS.pm index 554bddc4d..edc02d9c3 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -2136,12 +2136,14 @@ sub get_pricegroups_for_parts { $pkr->{selected} = ' selected'; # unless $form->{selected}; # no customer pricesgroup set - if ($pkr->{price_unfmt} == $pkr->{default_sellprice} || $form->{'sellprice_'.$i} * 1 > 1) { + if ($pkr->{price_unfmt} == $pkr->{default_sellprice}) { $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}; }