Skip to content

Commit

Permalink
Refer to correct field to prevent HTTP500
Browse files Browse the repository at this point in the history
This triggered an error and broke the webstandard test.
  • Loading branch information
vmcj committed Jun 8, 2024
1 parent ee1a145 commit 8c59e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Controller/Jury/TeamCategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public function requestRemainingRunsWholeTeamCategoryAction(string $categoryId):
->join('t.category', 'tc')
->andWhere('j.valid = true')
->andWhere('j.result != :compiler_error')
->andWhere('tc.category = :categoryId')
->andWhere('tc.categoryid = :categoryId')
->setParameter('compiler_error', 'compiler-error')
->setParameter('categoryId', $categoryId);
if ($contestId > -1) {
Expand Down

0 comments on commit 8c59e6b

Please sign in to comment.