"Removing unneeded code"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6229 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-12-23 17:00:31 +00:00
parent 473b414131
commit 6e1bacebf5

View file

@ -493,8 +493,7 @@ class DboSource extends DataSource {
$count = count($values);
for ($i = 0; $i < $count; $i++) {
$set = $this->value($values[$i], $model->getColumnType($fields[$i]));
$valueInsert[] = $set;
$valueInsert[] = $this->value($values[$i], $model->getColumnType($fields[$i]));
}
if ($this->execute('INSERT INTO ' . $this->fullTableName($model) . ' (' . join(',', $fieldInsert). ') VALUES (' . join(',', $valueInsert) . ')')) {