]> wagnertech.de Git - mfinanz.git/commitdiff
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 19 Nov 2012 08:51:50 +0000 (09:51 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 19 Nov 2012 08:51:50 +0000 (09:51 +0100)
SL/IS.pm

index 554bddc4dc8cd40cd4d77c6047a4a2eed072b44d..edc02d9c35d4634e51a2ed7b6a37c77c2a555d4e 100644 (file)
--- 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};
           }