diff --git a/lib/Doctrine/Validator.php b/lib/Doctrine/Validator.php index 3c7f65f37..59630c701 100644 --- a/lib/Doctrine/Validator.php +++ b/lib/Doctrine/Validator.php @@ -178,7 +178,10 @@ class Doctrine_Validator { $args[0] = ''; } - if(empty($name) || $name == "primary" || $name == "protected" || $name == "autoincrement") + if(empty($name) || $name == 'primary' || + $name == 'protected' || + $name == 'autoincrement' || + $name == 'default') continue; $validator = self::getValidator($name);