fixes #624
This commit is contained in:
parent
69985832a7
commit
7e2669d1bd
@ -544,7 +544,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
|
||||
foreach ($fields as $fieldName => $value) {
|
||||
if ($value instanceof Doctrine_Expression) {
|
||||
$set[] = $table->getColumnName($fieldName) . ' = ' . $value->getSql();
|
||||
unset($fields[$name]);
|
||||
unset($fields[$fieldName]);
|
||||
} else {
|
||||
$set[] = $table->getColumnName($fieldName) . ' = ?';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user