From 5e13d0daf6881f446ed61aed597333108e7b2a7b Mon Sep 17 00:00:00 2001 From: Bernhard Schmitt Date: Sun, 11 Jun 2023 22:31:07 +0200 Subject: [PATCH] Use site detection result instead of the default site in hostframe --- Classes/Controller/BackendController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index 6a56ecc915..845c494cb2 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -177,7 +177,7 @@ public function indexAction(string $node = null) $siteNode = $subgraph->findChildNodeConnectedThroughEdgeName( $rootNode->nodeAggregateId, - $this->siteRepository->findDefault()->getNodeName()->toNodeName() + $siteDetectionResult->siteNodeName->toNodeName() ); if (!$nodeAddress) {