1
0
mirror of synced 2025-01-18 06:21:40 +03:00

[DDC-2645] Apply patch to fix issue

This commit is contained in:
Pouyan Savoli 2013-12-15 23:31:35 +01:00 committed by Benjamin Eberlei
parent aa5df1dbac
commit a5b7069fd7

View File

@ -1735,6 +1735,8 @@ class UnitOfWork implements PropertyChangedListener
$associatedId = $this->getEntityIdentifier($idValue); $associatedId = $this->getEntityIdentifier($idValue);
$flatId[$idField] = $associatedId[$targetClassMetadata->identifier[0]]; $flatId[$idField] = $associatedId[$targetClassMetadata->identifier[0]];
} else {
$flatId[$idField] = $idValue;
} }
} }