Remove extraneous quotes from input queries

This commit is contained in:
Timothy Warren 2014-02-10 15:01:46 -05:00
parent 56ea38ccad
commit 65ff7d8d03

View File

@ -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)