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