// Fix country cache

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10736 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-11-29 10:37:42 +00:00
parent 1eff4dae73
commit cbd566f6e7
+1 -1
View File
@@ -214,7 +214,7 @@ class CountryCore extends ObjectModel
*/
public static function getNameById($id_lang, $id_country)
{
$key = $id_country.'_'.$id_lang;
$key = 'country_getNameById_'.$id_country.'_'.$id_lang;
if (!Cache::isStored($key))
Cache::store($key, Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
SELECT `name`