mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 00:31:53 +00:00
fix(contest): check if has final_result when starting final test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a6e0a20cf2
commit
57773b9f41
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user