parent
85e2dc8f22
commit
ab0e854830
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue