1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-28 14:07:02 +00:00

fix(contest): check if has final_result when starting final test

This commit is contained in:
Baoshuo Ren 2023-02-15 16:50:06 +08:00
parent a6e0a20cf2
commit 57773b9f41
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -247,7 +247,7 @@ class UOJContest {
case 'no-details':
case 'full':
if ($result['status'] == 'Judged') {
if ($result['status'] == 'Judged' && !isset($result['final_result'])) {
$q += [
'result' => $submission['result'],
'score' => $result['score'],