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
1 changed files with 1 additions and 1 deletions
|
@ -982,7 +982,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||
);
|
||||
}
|
||||
|
||||
if ($this->entityChangeSets[$oid]) {
|
||||
if (!empty($this->entityChangeSets[$oid])) {
|
||||
$persister->update($entity);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue