From 47dc473163d39064d3657a244f57fec9d6b71b8a Mon Sep 17 00:00:00 2001 From: Acrobot Date: Thu, 26 Jul 2012 13:44:29 +0200 Subject: [PATCH] Fix negative prices --- com/Acrobot/Breeze/Utils/PriceUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/Acrobot/Breeze/Utils/PriceUtil.java b/com/Acrobot/Breeze/Utils/PriceUtil.java index 4802e2f..6c9ec60 100644 --- a/com/Acrobot/Breeze/Utils/PriceUtil.java +++ b/com/Acrobot/Breeze/Utils/PriceUtil.java @@ -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;