mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +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) {
|
function _invoke (&$controller, $params, $missingAction = false) {
|
||||||
$this->controller =& $controller;
|
$this->controller =& $controller;
|
||||||
|
|
||||||
return parent::_invoke($controller, $params, $missingAction);
|
return parent::_invoke($this->controller, $params, $missingAction);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue