Fixes issue U4-9332
U4-9332 Language of DefaultCultureDictionary is cached without the current Culture identifier
This commit is contained in:
@@ -137,7 +137,7 @@ namespace Umbraco.Web.Dictionary
|
||||
{
|
||||
//ensure it's stored/retrieved from request cache
|
||||
//NOTE: This is no longer necessary since these are cached at the runtime level, but we can leave it here for now.
|
||||
return _requestCacheProvider.GetCacheItem<ILanguage>(typeof (DefaultCultureDictionary).Name + "Culture",
|
||||
return _requestCacheProvider.GetCacheItem<ILanguage>(typeof (DefaultCultureDictionary).Name + "Culture" + Culture.Name,
|
||||
() => _localizationService.GetLanguageByIsoCode(Culture.Name));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user