diff --git a/lib/Cake/Model/ModelValidator.php b/lib/Cake/Model/ModelValidator.php index f21bd28cb..91c2c221d 100644 --- a/lib/Cake/Model/ModelValidator.php +++ b/lib/Cake/Model/ModelValidator.php @@ -276,7 +276,7 @@ class ModelValidator { $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)); }