Making code PHP4 friendly again

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7460 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2008-08-13 11:29:33 +00:00
parent fb15d71284
commit 0b5fbe04f6

View file

@ -156,7 +156,7 @@ class CakeTestCase extends UnitTestCase {
if (!isset($this->db)) {
$this->_initDb();
}
$classRegistry = ClassRegistry::getInstance();
$classRegistry =& ClassRegistry::getInstance();
if ($controller->uses === false) {
$list = array($controller->modelClass);