Skip to content
Permalink
Browse files

Changing guessed validation type for boolean.

  • Loading branch information...
markstory committed Jul 30, 2009
1 parent ad3d34c commit f6d6272f97b182d14a694a2911c9a42eb0def503
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/libs/tasks/model.php
@@ -405,7 +405,7 @@ function fieldValidation($fieldName, $metaData, $primaryKey = 'id') {
} 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') {

0 comments on commit f6d6272

Please sign in to comment.
You can’t perform that action at this time.