Closes #3376, changed Dispatcher::_invoke() to pass empty array as parameter

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5802 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-10-19 09:15:25 +00:00
parent 07ad5c9853
commit a6822f5d63

View file

@ -278,7 +278,7 @@ class Dispatcher extends Object {
)
));
} else {
$output = call_user_func_array(array(&$controller, $params['action']), empty($params['pass'])? null: $params['pass']);
$output = call_user_func_array(array(&$controller, $params['action']), empty($params['pass'])? array(): $params['pass']);
}
if ($controller->autoRender) {