Commit a3c39fed authored by phuson's avatar phuson

Applied patch for ticket #499. Tested and it seems to be working correctly with patch.

parent a4ae926a
...@@ -527,7 +527,7 @@ class Doctrine_Connection_UnitOfWork extends Doctrine_Connection_Module ...@@ -527,7 +527,7 @@ class Doctrine_Connection_UnitOfWork extends Doctrine_Connection_Module
$set = array(); $set = array();
foreach ($array as $name => $value) { foreach ($array as $name => $value) {
if ($value instanceof Doctrine_Expression) { if ($value instanceof Doctrine_Expression) {
$set[] = $value->getSql(); $set[] = $name . ' = ' . $value->getSql();
unset($array[$name]); unset($array[$name]);
} else { } else {
......
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