mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 13:41:51 +02:00
Fix when submitting form
This commit is contained in:
parent
829391e1a3
commit
39157968ed
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue