1
0
mirror of synced 2025-01-20 15:31:40 +03:00

[DDC-1861] Fix UnitOfWork#doMerge()

This commit is contained in:
Benjamin Eberlei 2012-07-04 21:55:48 +02:00
parent da331cd277
commit 1023af6a1f

View File

@ -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