Skip to content
Permalink
Browse files

Fixing error introduced in previous commit due to bad merge

  • Loading branch information...
lorenzo committed Jan 19, 2010
1 parent cb4a1f0 commit 96fd0bf10020945b93e4e6e4d60051c5af6c3135
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/behavior.php
@@ -287,7 +287,7 @@ function attach($behavior, $config = array()) {
}
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])) {

0 comments on commit 96fd0bf

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.