Remove extraneous quotes from input queries
This commit is contained in:
parent
56ea38ccad
commit
65ff7d8d03
@ -1260,15 +1260,6 @@ class Query_Builder implements iQuery_Builder {
|
|||||||
$vals = array_merge($this->values, (array) $this->where_values);
|
$vals = array_merge($this->values, (array) $this->where_values);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add quotes to 'string' values
|
|
||||||
foreach($vals as &$v)
|
|
||||||
{
|
|
||||||
if ( ! is_numeric($v))
|
|
||||||
{
|
|
||||||
$v = "'{$v}'";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$start_time = microtime(TRUE);
|
$start_time = microtime(TRUE);
|
||||||
|
|
||||||
$res = ($simple)
|
$res = ($simple)
|
||||||
|
Loading…
Reference in New Issue
Block a user