diff --git a/src/Bundle/ChillAsideActivityBundle/src/Form/AsideActivityFormType.php b/src/Bundle/ChillAsideActivityBundle/src/Form/AsideActivityFormType.php index bfc8e02a6..683adf8da 100644 --- a/src/Bundle/ChillAsideActivityBundle/src/Form/AsideActivityFormType.php +++ b/src/Bundle/ChillAsideActivityBundle/src/Form/AsideActivityFormType.php @@ -86,7 +86,6 @@ final class AsideActivityFormType extends AbstractType // ] // ) ->add('agent', PickUserDynamicType::class, [ - 'multiple' => true, 'label' => 'For agent', 'required' => true, ]) diff --git a/src/Bundle/ChillPersonBundle/Controller/PersonResourceController.php b/src/Bundle/ChillPersonBundle/Controller/PersonResourceController.php index 6b9b5dc6a..e35e94ac2 100644 --- a/src/Bundle/ChillPersonBundle/Controller/PersonResourceController.php +++ b/src/Bundle/ChillPersonBundle/Controller/PersonResourceController.php @@ -150,6 +150,8 @@ final class PersonResourceController extends AbstractController $comment = $form['comment']->getData(); $kind = $form['kind']->getData(); + dump($person); + $personResource->setKind($kind); $personResource->setPerson($person); $personResource->setThirdParty($thirdparty);