diff --git a/form/create_form_type_extension.rst b/form/create_form_type_extension.rst index 9bb0abc2d8e..9e0066d7be8 100644 --- a/form/create_form_type_extension.rst +++ b/form/create_form_type_extension.rst @@ -192,7 +192,7 @@ Specifically, you need to override the ``file_widget`` block: {% block file_widget %} {{ block('form_widget') }} - {% if image_url is not null %} + {% if image_url is defined and image_url is not null %} {% endif %} {% endblock %} pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy