U4-7781 Setting a user's start node causes YSOD

#U4-7781 Fixed
This commit is contained in:
Sebastiaan Janssen
2016-01-20 10:45:40 +01:00
parent 1888888650
commit 7cd8ba13c0

View File

@@ -809,7 +809,7 @@ order by level,sortOrder";
if (Level == 1) throw new ArgumentException("No newParent node");
if (_parent == null)
{
_parent = ApplicationContext.Current.Services.EntityService.Get(Entity.ParentId);
_parent = ApplicationContext.Current.Services.EntityService.Get(_parentid);
}
return new CMSNode(_parent);
}