From 1860c3b4832440bac7aa2eff2faa54312992b42d Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tim.dijen@minbzk.nl> Date: Mon, 17 Feb 2020 09:41:29 +0100 Subject: [PATCH] Fix template --- templates/error.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/error.twig b/templates/error.twig index 6468acee2..8a15542fa 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> -- GitLab