Fix when submitting form

This commit is contained in:
Thomas 2019-08-11 11:51:32 +02:00
parent 829391e1a3
commit 39157968ed

View file

@ -192,7 +192,7 @@ class FediPlanController extends AbstractController
'Success',
'The message has been scheduled'
);
$form = $this->createForm(ComposeType::class, $compose);
$form = $this->createForm(ComposeType::class, $compose, ['user' => $this->getUser()]);
}
}
$user = $this->getUser();