Skip to content

Commit

Permalink
Fixing error introduced in previous commit due to bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 19, 2010
1 parent cb4a1f0 commit 96fd0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/model/behavior.php
Expand Up @@ -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])) {
Expand Down

0 comments on commit 96fd0bf

Please sign in to comment.