Permalink
Browse files

fixing typo that causes failing BehaviorCollection test

  • Loading branch information...
1 parent 05abff6 commit 1e28e2f89578a680a6e3b19fb6cd09d7f5026f6d @ceeram ceeram committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/ModelValidator.php
@@ -276,7 +276,7 @@ public function getMethods() {
$methods[strtolower($method)] = array($this->_model, $method);
}
- foreach (array_keys($this->_model->Behaviors->methods()) as $mthod) {
+ foreach (array_keys($this->_model->Behaviors->methods()) as $method) {
$methods += array(strtolower($method) => array($this->_model, $method));
}

0 comments on commit 1e28e2f

Please sign in to comment.