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

View File

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