Fix breaking change from stringvalues
This commit is contained in:
parent
636459a6f7
commit
68f1a45ea7
|
|
@ -40,7 +40,7 @@ namespace Microsoft.AspNet.Localization
|
||||||
|
|
||||||
var cookie = httpContext.Request.Cookies[CookieName];
|
var cookie = httpContext.Request.Cookies[CookieName];
|
||||||
|
|
||||||
if (cookie == null)
|
if (cookie.Count == 0)
|
||||||
{
|
{
|
||||||
return Task.FromResult((ProviderCultureResult)null);
|
return Task.FromResult((ProviderCultureResult)null);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue