Commit 7fc76779 authored by jackbravo's avatar jackbravo

Amend: this was not yet to be commited

parent 17913f58
...@@ -469,10 +469,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun ...@@ -469,10 +469,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
return false; return false;
} }
// column names are specified as array keys // column names are specified as array keys
$cols = array(); $cols = array_keys($values);
foreach ($values as $key => $value) {
$cols[] = $this->quoteIdentifier($key);
}
// build the statement // build the statement
$query = 'INSERT INTO ' . $this->quoteIdentifier($table) $query = 'INSERT INTO ' . $this->quoteIdentifier($table)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment