Fixed insert statement syntax error
This commit is contained in:
parent
0022126b96
commit
20555ccc3a
@ -587,7 +587,7 @@ class Query_Builder {
|
||||
$param_count = count($this->set_array);
|
||||
$params = array_fill(0, $param_count, '?');
|
||||
$sql = 'INSERT INTO '. $this->db->quote_ident($table) .
|
||||
'(' . implode(', ', $this->set_array_keys) .
|
||||
' (' . implode(', ', $this->set_array_keys) .
|
||||
') VALUES ('.implode(', ', $params).')';
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user