1
0
mirror of synced 2025-01-17 22:11:41 +03:00
This commit is contained in:
zYne 2007-11-28 23:06:04 +00:00
parent 69985832a7
commit 7e2669d1bd

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