1
0
mirror of synced 2024-12-13 14:56:01 +03:00

Fixed typo

This commit is contained in:
zYne 2006-10-10 09:32:32 +00:00
parent b0f0537071
commit d81a4245b7

View File

@ -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]);
}