parent
576a4d7e31
commit
d9821d3fda
@ -1865,7 +1865,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
|
|
||||||
$this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
|
$this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
|
||||||
$this->persistNew($class, $managedCopy);
|
$this->persistNew($class, $managedCopy);
|
||||||
}else{
|
} else {
|
||||||
$this->ensureVersionMatch($class, $entity, $managedCopy);
|
$this->ensureVersionMatch($class, $entity, $managedCopy);
|
||||||
$this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
|
$this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user