fixed validators with default values
This commit is contained in:
parent
ab99a5fcc3
commit
cded682ee4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user