// Fix uses of $cookie var in CompareProduct

// Fix little issue on Geolocation
[-] FO : Fix issue on compare product when cookie->id_compare value is invalid
This commit is contained in:
aFolletete
2012-05-10 13:32:56 +00:00
parent 7757b3e019
commit 4d14f75e49
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -637,8 +637,8 @@ class FrontControllerCore extends Controller
}
else
{
$hasBeenSet = !isset($this->context->cookie->iso_code_country);
$this->context->cookie->iso_code_country = strtoupper($record->country_code);
$hasBeenSet = true;
}
}
}