mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
fix for param order in Dispatcher::__getController()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5911 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
fed7d601a2
commit
00c7daf8bd
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ class Dispatcher extends Object {
|
|||
if (!$ctrlClass = $this->__loadController($params)) {
|
||||
$params = am($params, array('controller'=> $params['plugin'],
|
||||
'action'=> $params['controller'],
|
||||
'pass' => am($params['pass'], Router::getArgs($params['action']))
|
||||
'pass' => am(Router::getArgs($params['action']), $params['pass'])
|
||||
)
|
||||
);
|
||||
if (!$ctrlClass = $this->__loadController($params)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue