Upstream Patch: Database enhancements for PTA

This commit is contained in:
Deon George 2011-06-27 14:38:36 +10:00
parent fe62c848c4
commit b2c250c319

View File

@ -112,7 +112,7 @@ abstract class Kohana_Database_Query_Builder extends Database_Query {
}
elseif ($op === 'IN' AND is_array($value))
{
$value = '('.implode(',',$value).')';
$value = $db->quote($value);
}
elseif ((is_string($value) AND array_key_exists($value, $this->_parameters)) === FALSE)
{