From a6822f5d63708381bf4e59e2e2bb170c2f1891cb Mon Sep 17 00:00:00 2001 From: phpnut Date: Fri, 19 Oct 2007 09:15:25 +0000 Subject: [PATCH] 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 --- cake/dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 30a0b01cf..c1685d592 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -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) {