Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed May 7, 2012
1 parent ff91a09 commit 1ff1af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/ModelValidator.php
Expand Up @@ -261,7 +261,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));
}

Expand Down

0 comments on commit 1ff1af3

Please sign in to comment.