// 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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15170 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2012-05-10 13:32:56 +00:00
parent 0fe8ad5f90
commit c1b590804a
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;
}
}
}