From fd4213fd065834ce140da6a96250f4b02251362a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 13 Oct 2011 14:39:41 +0200 Subject: [PATCH] Fixed route building --- wcfsetup/install/files/lib/system/request/Route.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/request/Route.class.php b/wcfsetup/install/files/lib/system/request/Route.class.php index f516a29728..0c769c2d05 100644 --- a/wcfsetup/install/files/lib/system/request/Route.class.php +++ b/wcfsetup/install/files/lib/system/request/Route.class.php @@ -238,13 +238,13 @@ class Route { if (!isset($components[$component])) { continue; } - + $link .= $components[$component] . '/'; unset($components[$component]); } } - $link = 'index.php' . (!empty($link) ? '/' : ''); + $link = 'index.php' . (!empty($link) ? '/' : '') . $link; if (!empty($components)) { $link .= '?' . http_build_query($components, '', '&'); -- 2.20.1