From: Alexander Ebert Date: Thu, 13 Oct 2011 12:39:41 +0000 (+0200) Subject: Fixed route building X-Git-Tag: 2.0.0_Beta_1~1693 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd4213fd065834ce140da6a96250f4b02251362a;p=GitHub%2FWoltLab%2FWCF.git Fixed route building --- 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, '', '&');