Skip to content

Commit 6862840

Browse files
committed
Refer to correct field to prevent HTTP500
This triggered an error and broke the webstandard test.
1 parent 3d3d641 commit 6862840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/Jury/TeamCategoryController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public function requestRemainingRunsWholeTeamCategoryAction(string $categoryId):
250250
->join('t.category', 'tc')
251251
->andWhere('j.valid = true')
252252
->andWhere('j.result != :compiler_error')
253-
->andWhere('tc.category = :categoryId')
253+
->andWhere('tc.categoryid = :categoryId')
254254
->setParameter('compiler_error', 'compiler-error')
255255
->setParameter('categoryId', $categoryId);
256256
if ($contestId > -1) {

0 commit comments

Comments
 (0)