diff --git a/app/bundles/LeadBundle/Resources/views/Company/list_rows_contacts.html.twig b/app/bundles/LeadBundle/Resources/views/Company/list_rows_contacts.html.twig index ebdf6a83adb..5ef839555eb 100644 --- a/app/bundles/LeadBundle/Resources/views/Company/list_rows_contacts.html.twig +++ b/app/bundles/LeadBundle/Resources/views/Company/list_rows_contacts.html.twig @@ -167,7 +167,7 @@ }]) %} {% endif %} - {% if fields.core.email.value is not empty %} + {% if fields.core.email is defined %} {% set custom = custom|merge([{ 'attr': { 'data-toggle': 'ajaxmodal', @@ -198,17 +198,17 @@