Skip to content

Commit

Permalink
fixed backend rendering bug
Browse files Browse the repository at this point in the history
  • Loading branch information
breadlesscode committed Feb 20, 2018
1 parent 8f48c41 commit 435748a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Package/FrontendNodeRoutePartHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ protected function findNextNodeWithPathSegmentRecursively(
array_unshift($relativeNodePathSegments, $node->getName());
return $foundNode;
}
} elseif ($node->getProperty('uriPathSegment') === $pathSegment) {
}
if ($node->getProperty('uriPathSegment') === $pathSegment) {
$relativeNodePathSegments[] = $node->getName();
return $node;
}
Expand Down

0 comments on commit 435748a

Please sign in to comment.