Skip to content

Commit

Permalink
Update VirtualProductContentCache.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
eriksimonic committed Jul 9, 2019
1 parent 9036f4c commit 5b2d334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Merchello.Web/Caching/VirtualProductContentCache.cs
Expand Up @@ -31,7 +31,8 @@ public VirtualProductContentCache()
/// <returns></returns>
private IProductContent UpdateLanguage(IProductContent content)
{
content?.SpecifyCulture(System.Threading.Thread.CurrentThread.CurrentUICulture);
if(null != content)
content.SpecifyCulture(System.Threading.Thread.CurrentThread.CurrentUICulture);
return content;
}

Expand Down

0 comments on commit 5b2d334

Please sign in to comment.