mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-02 17:42:41 +00:00
Adding missing reference operators to getInstance methods.
This commit is contained in:
parent
ba06b5b456
commit
af92276ba9
5 changed files with 9 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue