[-] FO : fixed tax rules cache
This commit is contained in:
1 parent
4cc99ed9b6
commit
63f2082da3
1 file changed
+2
-2
@@ -111,10 +111,10 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
self::$cache_tax_calculator[$postcode.'-'.$this->type] = new TaxCalculator($taxes, $behavior);
|
self::$cache_tax_calculator[(int)$this->address->id_country.'-'.$postcode.'-'.$this->type] = new TaxCalculator($taxes, $behavior);
|
||||||
}
|
}
|
||||||
|
|
||||||
return self::$cache_tax_calculator[$postcode.'-'.$this->type];
|
return self::$cache_tax_calculator[(int)$this->address->id_country.'-'.$postcode.'-'.$this->type];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user