1
0
mirror of synced 2025-02-02 13:31:45 +03:00
This commit is contained in:
Marco Pivetta 2016-12-18 14:38:10 +01:00
parent eaee924180
commit 576a4d7e31

View File

@ -3370,11 +3370,11 @@ class UnitOfWork implements PropertyChangedListener
*/
private function mergeEntityStateIntoManagedCopy($entity, $managedCopy)
{
if (!$this->isLoaded($entity)) {
if (! $this->isLoaded($entity)) {
return;
}
if (!$this->isLoaded($managedCopy)) {
if (! $this->isLoaded($managedCopy)) {
$managedCopy->__load();
}