File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Umbraco.Infrastructure/PropertyEditors Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -358,8 +358,8 @@ private void CleanupVariantValues(
358358
359359 foreach ( BlockPropertyValue targetBlockPropertyValue in targetBlockItem . Values )
360360 {
361- BlockPropertyValue ? sourceBlockPropertyValue =
362- sourceBlockItem ? . Values . FirstOrDefault ( v => v . Culture == targetBlockPropertyValue . Culture ) ;
361+ BlockPropertyValue ? sourceBlockPropertyValue = sourceBlockItem ? . Values . FirstOrDefault ( v
362+ => v . Alias == targetBlockPropertyValue . Alias && v . Culture == targetBlockPropertyValue . Culture ) ;
363363
364364 // todo double check if this path can have an invariant value, but it shouldn't right???
365365 // => it can be a null culture, but we shouldn't do anything? as the invariant section should have done it already
You can’t perform that action at this time.
0 commit comments