mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Fixing error introduced in previous commit due to bad merge
This commit is contained in:
parent
cb4a1f07e5
commit
96fd0bf100
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ class BehaviorCollection extends Object {
|
|||
}
|
||||
ClassRegistry::addObject($class, $this->{$name});
|
||||
if (!empty($plugin)) {
|
||||
ClassRegistry::addObject($plugin.'.'.$class, $clas);
|
||||
ClassRegistry::addObject($plugin.'.'.$class, $this->{$name});
|
||||
}
|
||||
}
|
||||
} elseif (isset($this->{$name}->settings) && isset($this->{$name}->settings[$this->modelName])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue