Commit 7db2f9ab authored by romanb's avatar romanb

[2.0] Fixed dirty state of lazy-initialized collection with new elements prior to initialization.

parent ba496fd3
......@@ -241,6 +241,7 @@ final class PersistentCollection implements \Doctrine\Common\Collections\Collect
foreach ($newObjects as $obj) {
$this->_coll->add($obj);
}
$this->_isDirty = true;
}
$this->_initialized = true;
}
......
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