mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
(to rebase/fixup later) Update command based on feedback.
This commit is contained in:
parent
ea1c12da64
commit
18d0ad67d6
@ -149,7 +149,10 @@ final class SocialWorkMetadata implements SocialWorkMetadataInterface
|
||||
$goal->setTitle(['fr' => $goalTitle]);
|
||||
|
||||
if (null !== $socialAction) {
|
||||
$socialAction->addGoal($goal);
|
||||
$goal->addSocialAction($socialAction);
|
||||
|
||||
$this->entityManager->persist($socialAction);
|
||||
}
|
||||
|
||||
$this->entityManager->persist($goal);
|
||||
|
Loading…
x
Reference in New Issue
Block a user