[-] FO : getTaxCalculator bad cache key again // sorry about that
This commit is contained in:
1 parent
fee461fdf1
commit
38da826671
1 file changed
+1
-1
@@ -80,7 +80,7 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
|
|||||||
if (!empty($this->address->postcode))
|
if (!empty($this->address->postcode))
|
||||||
$postcode = $this->address->postcode;
|
$postcode = $this->address->postcode;
|
||||||
|
|
||||||
$key = (int)$this->address->id_country.'-'.$postcode.'-'.(int)$this->type;
|
$key = (int)$this->address->id_country.'-'.(int)$this->address->id_state.'-'.$postcode.'-'.(int)$this->type;
|
||||||
if (!isset(self::$cache_tax_calculator[$key]))
|
if (!isset(self::$cache_tax_calculator[$key]))
|
||||||
{
|
{
|
||||||
$rows = Db::getInstance()->executeS('
|
$rows = Db::getInstance()->executeS('
|
||||||
|
|||||||
Reference in new issue
Block a user