diff --git a/webapp/templates/jury/submission.html.twig b/webapp/templates/jury/submission.html.twig index 2cbd205b7c..7aa84f7e91 100644 --- a/webapp/templates/jury/submission.html.twig +++ b/webapp/templates/jury/submission.html.twig @@ -43,7 +43,7 @@ {% endif %} {% if selectedJudging is not null and selectedJudging.result is not empty %} - {% if selectedJudging.result|upper not in submission.expectedResults %} + {% if submission.expectedResults and selectedJudging.result|upper not in submission.expectedResults %}
Actual result {{ selectedJudging.result | printValidJuryResult }} does NOT match expected result(s): {% for expectedResult in submission.expectedResults %}