Fix error in < 5.3 in Query Builder
This commit is contained in:
parent
4702ccb2b3
commit
3c16ca7253
@ -1287,7 +1287,7 @@ class Query_Builder implements iQuery_Builder {
|
||||
// Add the interpreted query to the list of executed queries
|
||||
foreach($evals as $k => &$v)
|
||||
{
|
||||
$v = ( ! is_numeric($v)) ? htmlentities($this->db->quote($v), ENT_HTML401 | ENT_NOQUOTES, 'utf-8', FALSE) : $v;
|
||||
$v = ( ! is_numeric($v)) ? htmlentities($this->db->quote($v), ENT_NOQUOTES, 'utf-8', FALSE) : $v;
|
||||
}
|
||||
$esql = str_replace('?', "%s", $sql);
|
||||
array_unshift($vals, $esql);
|
||||
|
Loading…
Reference in New Issue
Block a user