parent
85e2dc8f22
commit
ab0e854830
@ -1850,7 +1850,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