Skip to content

Commit b9b59e2

Browse files
committed
Fix injection glitch added in #91
1 parent 5a8f4a6 commit b9b59e2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Doctrine/PolyglotListener.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ public function prePersist(LifecycleEventArgs $event): void
7676

7777
private function injectPersistentTranslatables(EntityManager $entityManager, object $object): void
7878
{
79-
if (isset($this->entitiesWithTranslatables[$object])) {
80-
return;
81-
}
82-
8379
$hasTranslatables = false;
8480

8581
foreach ($this->getTranslationMetadatas($object, $entityManager) as $tm) {

0 commit comments

Comments
 (0)