Fixed typo
This commit is contained in:
parent
b0f0537071
commit
d81a4245b7
@ -258,7 +258,7 @@ class Doctrine_Validator_Country {
|
||||
* @return boolean
|
||||
*/
|
||||
public function validate(Doctrine_Record $record, $key, $value, $args) {
|
||||
$value = srttolower($value);
|
||||
$value = strtolower($value);
|
||||
return isset(self::$countries[$value]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user