[-] FO : Bug Fixed #PSCFV-3417 - Wrong total order price calculation with tax disabled
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16624 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -69,6 +69,10 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
|
|||||||
if (isset($this->tax_calculator))
|
if (isset($this->tax_calculator))
|
||||||
return $this->tax_calculator;
|
return $this->tax_calculator;
|
||||||
|
|
||||||
|
$taxes = array();
|
||||||
|
if (!Configuration::get('PS_TAX'))
|
||||||
|
return new TaxCalculator($taxes);
|
||||||
|
|
||||||
$postcode = 0;
|
$postcode = 0;
|
||||||
if (!empty($this->address->postcode))
|
if (!empty($this->address->postcode))
|
||||||
$postcode = $this->address->postcode;
|
$postcode = $this->address->postcode;
|
||||||
@@ -86,7 +90,6 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
|
|||||||
|
|
||||||
$behavior = 0;
|
$behavior = 0;
|
||||||
$first_row = true;
|
$first_row = true;
|
||||||
$taxes = array();
|
|
||||||
|
|
||||||
foreach ($rows as $row)
|
foreach ($rows as $row)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user