[DDC-1861] Fix UnitOfWork#doMerge()
This commit is contained in:
parent
da331cd277
commit
1023af6a1f
1 changed files with 1 additions and 1 deletions
|
@ -1655,7 +1655,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||
$oid = spl_object_hash($entity);
|
||||
|
||||
if (isset($visited[$oid])) {
|
||||
return; // Prevent infinite recursion
|
||||
return $visited[$oid]; // Prevent infinite recursion
|
||||
}
|
||||
|
||||
$visited[$oid] = $entity; // mark visited
|
||||
|
|
Loading…
Add table
Reference in a new issue