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:
mariano.iglesias 2007-04-17 09:11:58 +00:00
parent 79e9050136
commit 29cadf7460

View file

@ -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);
}
}
/**