[DDC-1861] Fix UnitOfWork#doMerge()
This commit is contained in:
parent
da331cd277
commit
1023af6a1f
@ -1655,7 +1655,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$oid = spl_object_hash($entity);
|
$oid = spl_object_hash($entity);
|
||||||
|
|
||||||
if (isset($visited[$oid])) {
|
if (isset($visited[$oid])) {
|
||||||
return; // Prevent infinite recursion
|
return $visited[$oid]; // Prevent infinite recursion
|
||||||
}
|
}
|
||||||
|
|
||||||
$visited[$oid] = $entity; // mark visited
|
$visited[$oid] = $entity; // mark visited
|
||||||
|
Loading…
x
Reference in New Issue
Block a user