mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +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]);
|
$goal->setTitle(['fr' => $goalTitle]);
|
||||||
|
|
||||||
if (null !== $socialAction) {
|
if (null !== $socialAction) {
|
||||||
|
$socialAction->addGoal($goal);
|
||||||
$goal->addSocialAction($socialAction);
|
$goal->addSocialAction($socialAction);
|
||||||
|
|
||||||
|
$this->entityManager->persist($socialAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->entityManager->persist($goal);
|
$this->entityManager->persist($goal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user