From 00c7daf8bde6cf7e8b26f6b32f9fc00ddd43d014 Mon Sep 17 00:00:00 2001 From: gwoo Date: Sat, 27 Oct 2007 23:35:39 +0000 Subject: [PATCH] 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 --- cake/dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index cd7ea3f5b..3006f9b74 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -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)) {