1
0
mirror of synced 2025-01-18 22:41:43 +03:00

fixed validators with default values

This commit is contained in:
zYne 2006-10-01 14:48:53 +00:00
parent ab99a5fcc3
commit cded682ee4

View File

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