Skip to content

Commit b9585fc

Browse files
committed
optScore compare edit
1 parent 884b906 commit b9585fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/API/JudgehostController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ private function addSingleJudgingRun(
972972
$judgingRunOutput->setTeamMessage(base64_decode($teamMessage));
973973
}
974974

975-
if ($optScore !== null) {
975+
if ($optScore !== null and $optScore !== '') {
976976
$judgingRun->setOptScore((float)$optScore);
977977
}
978978

0 commit comments

Comments
 (0)