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:
gwoo 2007-10-27 23:35:39 +00:00
parent fed7d601a2
commit 00c7daf8bd

View file

@ -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)) {