Changing guessed validation type for boolean.

This commit is contained in:
mark_story 2009-07-29 22:20:07 -04:00
parent ad3d34c239
commit f6d6272f97

View file

@ -405,7 +405,7 @@ class ModelTask extends Shell {
} elseif ($metaData['type'] == 'integer') {
$guess = $methods['numeric'];
} elseif ($metaData['type'] == 'boolean') {
$guess = $methods['numeric'];
$guess = $methods['boolean'];
} elseif ($metaData['type'] == 'datetime' || $metaData['type'] == 'date') {
$guess = $methods['date'];
} elseif ($metaData['type'] == 'time') {