// small fix for merge pull #49

This commit is contained in:
Rémi Gaillard committed 2012-11-27 15:57:01 +01:00
1 parent d55fb35690
commit a7d67fcd48
1 file changed
+1 -5
@@ -100,11 +100,7 @@ class BlockBestSellers extends Module
$currency = new Currency($params['cookie']->id_currency); $currency = new Currency($params['cookie']->id_currency);
$id_group = $this->context->customer->id_default_group; if (Product::getTaxCalculationMethod((int)$this->context->customer->id) == PS_TAX_EXC)
if(Group::getPriceDisplayMethod($id_group) == PS_TAX_EXC)
$usetax = false;
else
if(Configuration::get('PS_TAX_DISPLAY') == PS_TAX_EXC)
$usetax = false; $usetax = false;
else else
$usetax = true; $usetax = true;