From 1e3c858f21781400103974c67630cb1e49d6668a Mon Sep 17 00:00:00 2001 From: Wulf Date: Fri, 16 Nov 2012 19:37:11 +0100 Subject: [PATCH] Revert "fix #2037" This reverts commit 0e792d9b96ce39353faa161fd97c5588b2a609f8. geht so nicht, finde aber auch keine Loesung --- SL/IS.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}; } -- 2.20.1