From 4a50f283ea0bc9bdd35ff23e17847a8489801aed Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Thu, 3 Nov 2011 17:20:49 +0000 Subject: [PATCH] // removeTax => removeTaxes --- classes/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Product.php b/classes/Product.php index c03b1a93d..da134cd0b 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -1909,7 +1909,7 @@ class ProductCore extends ObjectModel if (!$specific_price['id_currency']) $reduction_amount = Tools::convertPrice($reduction_amount, $id_currency); - $reduc = Tools::ps_round(!$use_tax ? $product_tax_calculator->removeTax($reduction_amount) : $reduction_amount, $decimals); + $reduc = Tools::ps_round(!$use_tax ? $product_tax_calculator->removeTaxes($reduction_amount) : $reduction_amount, $decimals); } else $reduc = Tools::ps_round($price * $specific_price['reduction'], $decimals);