Skip to content

Commit

Permalink
Merge pull request #4627 from neos/bugfix/workspace-module-use-correc…
Browse files Browse the repository at this point in the history
…t-site-node

BUGFIX: Set correct siteNode in WorkspaceController
  • Loading branch information
mhsdesign authored Oct 19, 2023
2 parents 15b8d31 + 49efa6b commit dcb033a
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 dcb033a

Please sign in to comment.