diff --git a/templates/error.twig b/templates/error.twig index 6468acee2e1758ea3f7e0d170478c75de23a852c..8a15542fa7d29e6b1cf33e4e2f38b8fe3d6abcac 100644 --- a/templates/error.twig +++ b/templates/error.twig @@ -37,7 +37,7 @@ {# Add error report submit section if we have a valid technical contact. 'errorreportaddress' will only be set if the technical contact email address has been set. #} - {% if errorReportAddress -%} + {% if errorReportAddress is defined -%} <h2>{{ '{errors:report_header}' | trans }}</h2> <form action="{{ errorReportAddress }}" class="pure-form" method="post"> <p>{{ '{errors:report_text}' | trans }}</p>