Upstream Patch: Database enhancements for PTA
This commit is contained in:
parent
fe62c848c4
commit
b2c250c319
@ -112,7 +112,7 @@ abstract class Kohana_Database_Query_Builder extends Database_Query {
|
|||||||
}
|
}
|
||||||
elseif ($op === 'IN' AND is_array($value))
|
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)
|
elseif ((is_string($value) AND array_key_exists($value, $this->_parameters)) === FALSE)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user