diff --git a/src/bundle/Resources/views/themes/admin/ui/field_type/edit/binary_base.html.twig b/src/bundle/Resources/views/themes/admin/ui/field_type/edit/binary_base.html.twig index 2adfa368f6..64e4c3880c 100644 --- a/src/bundle/Resources/views/themes/admin/ui/field_type/edit/binary_base.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/field_type/edit/binary_base.html.twig @@ -57,7 +57,7 @@
{% endif %} - {% if image_extensions is defined %} + {% if image_extensions is defined and image_extensions is not empty %} {% set extensions = [] %} {% for mime_type in mime_types %}