@ -150,7 +150,10 @@ abstract class SqlDbDriver extends DbDriver
}
} else {
if (is_array($term)) {
$term = new DbExpr('(' . implode(',', array_map(function($item){return intval($item);}, $term)) . ')');
foreach ($term as &$val) {
$val = $this->driverQuote($val);
$term = new DbExpr('(' . implode(',', $term) . ')');
$term = $this->quoteInto($cond, $term);