Cleanup/fix content variants mapping

This commit is contained in:
Stephan
2018-09-17 13:19:24 +02:00
parent fb246de5fc
commit 95361da1f8
9 changed files with 82 additions and 87 deletions

View File

@@ -37,7 +37,7 @@ namespace Umbraco.Web.Models.Mapping
if (source.ContentType.VariesByCulture())
{
//Get the culture from the context which will be set during the mapping operation for each variant
var culture = context.GetCulture();
var culture = context.Options.GetCulture();
//a culture needs to be in the context for a variant content item
if (culture == null)