diff --git a/Classes/Service/HierarchyService.php b/Classes/Service/HierarchyService.php index 84d6ad0..5210036 100644 --- a/Classes/Service/HierarchyService.php +++ b/Classes/Service/HierarchyService.php @@ -131,7 +131,7 @@ protected function buildHierarchyLevel(NodeInterface $parentNode, array $hierarc $this->applyProperties($hierarchyLevelNodeTemplate, $hierarchyLevelConfiguration['properties'], $context); } - if ($hierarchyLevelNodeType->isOfType('Neos.Neos:Document') && !isset($this->properties['uriPathSegment'])) { + if ($hierarchyLevelNodeType->isOfType('Neos.Neos:Document') && !isset($hierarchyLevelConfiguration['properties']['uriPathSegment'])) { $hierarchyLevelNodeTemplate->setProperty('uriPathSegment', $hierarchyLevelNodeTemplate->getName()); }