Browse Source

Fixing typo

Jose Lorenzo Rodriguez 14 years ago
parent
commit
1ff1af35b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Model/ModelValidator.php

+ 1 - 1
lib/Cake/Model/ModelValidator.php

@@ -261,7 +261,7 @@ class ModelValidator implements ArrayAccess, IteratorAggregate, Countable {
 			$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));
 		}