Commit cded682e authored by zYne's avatar zYne

fixed validators with default values

parent ab99a5fc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment