1
0
mirror of synced 2025-01-31 12:32:59 +03:00

Prevented "Undefined index" notice when updating

While executing updates on an entity scheduled for update without
a change-set, an "Undefined index" notice is raised.
This commit is contained in:
Jasper N. Brouwer 2012-10-17 21:50:09 +02:00
parent 56e96793c0
commit 0cfc37d757

View File

@ -982,7 +982,7 @@ class UnitOfWork implements PropertyChangedListener
); );
} }
if ($this->entityChangeSets[$oid]) { if (!empty($this->entityChangeSets[$oid])) {
$persister->update($entity); $persister->update($entity);
} }