mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
updating router fixes #3485
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5935 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
58517b34b0
commit
53f889f6c6
1 changed files with 1 additions and 1 deletions
|
@ -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) . '/';
|
||||
|
|
Loading…
Add table
Reference in a new issue