Fix negative prices

This commit is contained in:
Acrobot 2012-07-26 13:44:29 +02:00
parent 919b9728f5
commit 47dc473163

View File

@ -33,7 +33,7 @@ public class PriceUtil {
if (NumberUtil.isDouble(part)) {
double price = Double.valueOf(part);
if (price == 0) {
if (price <= 0) {
return NO_PRICE;
} else {
return price;