[-] FO : Fix bug #PSCFV-8917 taxes calculation when changing delivery address

This commit is contained in:
gRoussac
2013-09-10 18:48:28 +02:00
parent 332d68c7ec
commit f94f0f14a4
2 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
if (!empty($this->address->postcode))
$postcode = $this->address->postcode;
if (!isset(self::$cache_tax_calculator[$postcode.'-'.$this->type]))
if (!isset(self::$cache_tax_calculator[(int)$this->address->id_country.'-'.$postcode.'-'.$this->type]))
{
$rows = Db::getInstance()->executeS('
SELECT *