Bugfix package service

This commit is contained in:
Stephan
2019-01-15 19:15:06 +01:00
parent 4770756621
commit eb3d3e129c

View File

@@ -579,7 +579,7 @@ namespace Umbraco.Core.Services.Implement
contentType.IsContainer = isListView.Value.InvariantEquals("true");
var isElement = infoElement.Element("IsElement");
if (isListView != null)
if (isElement != null)
contentType.IsElement = isElement.Value.InvariantEquals("true");
//Name of the master corresponds to the parent and we need to ensure that the Parent Id is set