1
0
mirror of synced 2025-02-09 08:49:26 +03:00
This commit is contained in:
Marco Pivetta 2016-12-18 14:38:10 +01:00
parent 3ce262a61a
commit 85e2dc8f22

View File

@ -3352,11 +3352,11 @@ class UnitOfWork implements PropertyChangedListener
*/
private function mergeEntityStateIntoManagedCopy($entity, $managedCopy)
{
if (!$this->isLoaded($entity)) {
if (! $this->isLoaded($entity)) {
return;
}
if (!$this->isLoaded($managedCopy)) {
if (! $this->isLoaded($managedCopy)) {
$managedCopy->__load();
}