From 80daa6c5955a20144b58a22c26afcf583f9bd4d5 Mon Sep 17 00:00:00 2001 From: fneumann Date: Wed, 25 Mar 2026 13:44:05 +0100 Subject: [PATCH] [Footer] 47483: Wrong footerlink "Translation" https://mantis.ilias.de/view.php?id=47483 --- .../UI/Footer/class.ilFooterStandardGroupsProvider.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/ILIAS/GlobalScreen_/classes/UI/Footer/class.ilFooterStandardGroupsProvider.php b/components/ILIAS/GlobalScreen_/classes/UI/Footer/class.ilFooterStandardGroupsProvider.php index ad873f04edb3..31242eb47c85 100755 --- a/components/ILIAS/GlobalScreen_/classes/UI/Footer/class.ilFooterStandardGroupsProvider.php +++ b/components/ILIAS/GlobalScreen_/classes/UI/Footer/class.ilFooterStandardGroupsProvider.php @@ -65,7 +65,10 @@ public function getGroups(): array private function buildURI(string $from_path): URI { $request = $this->dic->http()->request()->getUri(); - return new URI($request->getScheme() . '://' . $request->getHost() . '/' . ltrim($from_path, '/')); + + return new URI($request->getScheme() . '://' . $request->getHost() + . (dirname($request->getPath()) == '/' ? '/' : dirname($request->getPath()) . '/') + . ltrim($from_path, '/')); } public function getEntries(): array