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

This commit is contained in:
gRoussac committed 2013-09-10 18:48:28 +02:00
1 parent 332d68c7ec
commit f94f0f14a4
2 files changed
+13 -6

No files matched your search

+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 *