Skip to content

Commit

Permalink
Load fallback translation after form copy (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quehnie authored Sep 12, 2023
1 parent 46c4178 commit b01747b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Manager/FormManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function copy(int $id, string $locale): Form
}

/** @var FormTranslation $newFormTranslation */
$newFormTranslation = $newForm->getTranslation($locale);
$newFormTranslation = $newForm->getTranslation($locale, false, true);

$this->domainEventCollector->collect(
new FormCopiedEvent(
Expand Down

0 comments on commit b01747b

Please sign in to comment.