From 53f889f6c6a05d99bd2536c78e93a1a153320c71 Mon Sep 17 00:00:00 2001 From: gwoo Date: Fri, 2 Nov 2007 06:21:41 +0000 Subject: [PATCH] updating router fixes #3485 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5935 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/router.php b/cake/libs/router.php index febdb2b1f..3398a6520 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -733,7 +733,7 @@ class Router extends Object { array_unshift($urlOut, $url['plugin']); } - if($admin && isset($url['admin'])) { + if($admin && isset($url[$admin])) { array_unshift($urlOut, $admin); } $output = join('/', $urlOut) . '/';