Fixed insert statement syntax error

This commit is contained in:
Timothy Warren 2012-03-13 12:33:14 -04:00
parent 0022126b96
commit 20555ccc3a

View File

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