// Fixed #PSTEST-887

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13947 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-03-07 17:50:12 +00:00
parent 3192210ecb
commit d48e349d95
+1 -1
View File
@@ -218,7 +218,7 @@ class SupplyOrderCore extends ObjectModel
$this->total_ti = 0;
$is_discount = false;
if (is_numeric($this->discount_rate) && (float)$this->discount_rate > 0)
if (is_numeric($this->discount_rate) && (float)$this->discount_rate >= 0)
$is_discount = true;
// gets all product entries in this order