1
0
mirror of synced 2025-01-31 04:21:44 +03:00
This commit is contained in:
zYne 2007-11-28 22:13:12 +00:00
parent b329ae870b
commit f8a0eb2e25

View File

@ -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($values[$name]);
unset($fields[$name]);
} else {
$set[] = $table->getColumnName($fieldName) . ' = ?';
}