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:
parent
56e96793c0
commit
0cfc37d757
@ -982,7 +982,7 @@ class UnitOfWork implements PropertyChangedListener
|
||||
);
|
||||
}
|
||||
|
||||
if ($this->entityChangeSets[$oid]) {
|
||||
if (!empty($this->entityChangeSets[$oid])) {
|
||||
$persister->update($entity);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user