Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing error introduced in previous commit due to bad merge

  • Loading branch information...
commit 96fd0bf10020945b93e4e6e4d60051c5af6c3135 1 parent cb4a1f0
@lorenzo lorenzo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/libs/model/behavior.php
View
2  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])) {
Please sign in to comment.
Something went wrong with that request. Please try again.