Skip to content

Commit

Permalink
BUGFIX: Set correct siteNode in WorkspaceController
Browse files Browse the repository at this point in the history
This fixes a merge error introduced with fa38119

We check `$ancestor` to be of nodeType `Neos.Neos:Site` so this is the correct value for `$siteNode`.

Relates: #4588
  • Loading branch information
ahaeslich committed Oct 19, 2023
1 parent 15b8d31 commit 49efa6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ protected function computeSiteChanges(Workspace $selectedWorkspace, ContentRepos
}
}
if ($this->getNodeType($ancestor)->isOfType(NodeTypeNameFactory::NAME_SITE)) {
$siteNode = $documentNode;
$siteNode = $ancestor;
}
}

Expand Down

0 comments on commit 49efa6b

Please sign in to comment.