Skip to content

Commit 1e96c76

Browse files
committed
Don't display output if the key isn't set
Catched while investigating a broken judgedaemon config.
1 parent b84190a commit 1e96c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/templates/jury/submission.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@
727727
show complete metadata
728728
</button>
729729
{% if runsOutput[runIdx].metadata is not null %}
730-
{% if runsOutput[runIdx].output_limit %}
730+
{% if runsOutput[runIdx].output_limit is defined %}
731731
<div class="alert alert-warning">
732732
The submission output (<code>{{ runsOutput[runIdx].output_limit }}</code>) was
733733
truncated because of the configured output limit.

0 commit comments

Comments
 (0)