From 9b421e009530171e329616571cb533b0028853ff Mon Sep 17 00:00:00 2001 From: rainydaysavings Date: Wed, 26 Aug 2020 07:56:31 +0100 Subject: [PATCH] [COMPONENTS] Small fix --- components/Posting/Posting.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Posting/Posting.php b/components/Posting/Posting.php index 72f0c68ed8..7d71be9bf0 100644 --- a/components/Posting/Posting.php +++ b/components/Posting/Posting.php @@ -54,7 +54,7 @@ class Posting extends Module $request = $vars['request']; $form = Form::create([ ['content', TextareaType::class, ['label' => ' ']], - ['attachments', FileType::class, ['label' => _m('Attachments'), 'multiple' => true, 'required' => false]], + ['attachments', FileType::class, ['label' => _m(' '), 'multiple' => true, 'required' => false]], ['scope', ChoiceType::class, [ 'label' => 'To:', 'multiple' => true, @@ -63,6 +63,7 @@ class Posting extends Module ]], ['send', SubmitType::class, ['label' => _m('Send')]], ]); + $form->handleRequest($request); if ($form->isSubmitted()) { $data = $form->getData();