1
0
mirror of synced 2025-02-03 05:49:25 +03:00
This commit is contained in:
Marco Pivetta 2016-12-18 14:39:46 +01:00
parent 85e2dc8f22
commit ab0e854830

View File

@ -1850,7 +1850,7 @@ class UnitOfWork implements PropertyChangedListener
$this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
$this->persistNew($class, $managedCopy);
}else{
} else {
$this->ensureVersionMatch($class, $entity, $managedCopy);
$this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
}