// 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:
+1
-1
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user