mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 03:48:41 +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 'no-details':
|
||||||
case 'full':
|
case 'full':
|
||||||
if ($result['status'] == 'Judged') {
|
if ($result['status'] == 'Judged' && !isset($result['final_result'])) {
|
||||||
$q += [
|
$q += [
|
||||||
'result' => $submission['result'],
|
'result' => $submission['result'],
|
||||||
'score' => $result['score'],
|
'score' => $result['score'],
|
||||||
|
Loading…
Reference in New Issue
Block a user