Adding missing reference operators to getInstance methods.

This commit is contained in:
Mark Story 2010-03-05 21:41:48 -05:00
parent ba06b5b456
commit af92276ba9
5 changed files with 9 additions and 9 deletions

View file

@ -653,7 +653,7 @@ class Controller extends Object {
if ($this->persistModel === true) {
$this->_persist($modelClass, true, $this->{$modelClass});
$registry = ClassRegistry::getInstance();
$registry =& ClassRegistry::getInstance();
$this->_persist($modelClass . 'registry', true, $registry->__objects, 'registry');
}
} else {