mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
1.2: router fix for plugins in url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3731 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
da2cf11ef3
commit
8b680a0107
1 changed files with 3 additions and 3 deletions
|
@ -360,9 +360,9 @@ class Router extends Overloadable {
|
|||
function url($url = null, $full = false) {
|
||||
$_this =& Router::getInstance();
|
||||
|
||||
$params = $_this->__params[0];
|
||||
$path = $_this->__paths[0];
|
||||
$base = strip_plugin($path['base'], $path['plugin']);
|
||||
$params = isset($_this->__params[0]) ? $_this->__params[0] : null;
|
||||
$path = isset($_this->__paths[0]) ? $_this->__paths[0] : null;
|
||||
$base = strip_plugin($path['base'], $params['plugin']);
|
||||
$extension = null;
|
||||
$mapped = null;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue