mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing "undefined variable" error in dispatch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4230 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b47906cdc1
commit
b05215eb9a
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ class Dispatcher extends Object {
|
|||
if (!empty($controller->params['pass'])) {
|
||||
$controller->passed_args =& $controller->params['pass'];
|
||||
$controller->passedArgs =& $controller->params['pass'];
|
||||
$named = false;
|
||||
|
||||
if (is_array($controller->namedArgs) ) {
|
||||
if(array_key_exists($params['action'], $controller->namedArgs)) {
|
||||
|
|
Loading…
Reference in a new issue