diff --git a/cake/libs/model/datasources/dbo_source.php b/cake/libs/model/datasources/dbo_source.php index 6019b7da1f3..e841facff56 100644 --- a/cake/libs/model/datasources/dbo_source.php +++ b/cake/libs/model/datasources/dbo_source.php @@ -1824,8 +1824,9 @@ function conditionKeysToString($conditions, $quoteValues = true, $model = null) $count = count($value); if ($count === 1) { $data = $this->name($key) . ' = ('; - } else + } else { $data = $this->name($key) . ' IN ('; + } if ($quoteValues || strpos($value[0], '-!') !== 0) { if (is_object($model)) { $columnType = $model->getColumnType($key);