mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Using reference to controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4873 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
79e9050136
commit
29cadf7460
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class CakeTestDispatcher extends Dispatcher {
|
|||
function _invoke (&$controller, $params, $missingAction = false) {
|
||||
$this->controller =& $controller;
|
||||
|
||||
return parent::_invoke($controller, $params, $missingAction);
|
||||
return parent::_invoke($this->controller, $params, $missingAction);
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue