diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index 7893d7413..d6eef1632 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -1836,7 +1836,7 @@ class DboSource extends DataSource { if ($quoteValues) { $update .= $this->value($value, $model->getColumnType($field)); - } elseif ($model->getColumnType($field) == 'boolean') { + } elseif ($model->getColumnType($field) == 'boolean' && (is_int($value) || is_bool($value))) { $update .= $this->boolean($value, true); } elseif (!$alias) { $update .= str_replace($quotedAlias . '.', '', str_replace(