Feature: [activity] automatically add a person to an activity, if

created in the person context

See https://gitlab.com/Chill-Projet/chill-bundles/-/issues/28
This commit is contained in:
Julien Fastré 2022-11-18 16:12:49 +01:00
parent 448d93cd02
commit cd54fdd13f
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -359,6 +359,7 @@ final class ActivityController extends AbstractController
if ($person instanceof Person) {
$entity->setPerson($person);
$entity->getPersons()->add($person);
}
if ($accompanyingPeriod instanceof AccompanyingPeriod) {