fix constraints of file in project form
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-03-09 23:00:01 +01:00
parent 8733a3498f
commit 798b66c96c
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -65,11 +65,12 @@ class ProjectType extends AbstractType
FilePickerType::class,
[
'label' => 'Image',
'required' => false,
'required' => true,
'data_class' => null,
'attr' => [
],
'constraints' => [
new NotBlank(),
],
]
);