Selaa lähdekoodia

Merge branch 'develop'

develop
Guillaume 2 vuotta sitten
vanhempi
commit
c04ea74457
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      Component/EntityComponent.php

+ 2
- 2
Component/EntityComponent.php Näytä tiedosto

@@ -70,7 +70,7 @@ class EntityComponent

$this->eventDispatcher->dispatch(new EntityComponentEvent($newEntity), EntityComponentEvent::DUPLICATE_EVENT);
//Ne pas utiliser create ici! Sinon pour certaine entité comme ProductFamily on réajoute un orginProduct
$this->entityManager->persist($newEntity);
$this->entityManager->create($newEntity, false);

return $newEntity;
}
@@ -110,4 +110,4 @@ class EntityComponent
}
return $entity;
}
}
}

Loading…
Peruuta
Tallenna