From d81a4245b7c4fba09bc4b8a7df00fb8400a5ae22 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 10 Oct 2006 09:32:32 +0000 Subject: [PATCH] Fixed typo --- lib/Doctrine/Validator/Country.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Validator/Country.php b/lib/Doctrine/Validator/Country.php index ee25905da..45f34a091 100644 --- a/lib/Doctrine/Validator/Country.php +++ b/lib/Doctrine/Validator/Country.php @@ -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]); }