mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
07ad5c9853
commit
a6822f5d63
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue