mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 16:08:41 +00:00
fix(contest/problem): UOJProblem::additionalSubmissionComponentsCannotBeSeenByUser()
This commit is contained in:
parent
986a5e20bc
commit
acfcfd1a74
@ -645,7 +645,7 @@ class UOJProblem {
|
||||
foreach ($this->findInContests() as $cp) {
|
||||
if ($cp->contest->userHasRegistered($user) && $cp->contest->progress() == CONTEST_IN_PROGRESS) {
|
||||
if ($submission->userIsSubmitter($user)) {
|
||||
if ($cp->contest->getJudgeTypeInContest() == 'no-details') {
|
||||
if ($cp->getJudgeTypeInContest() == 'no-details') {
|
||||
return ['low_level_details'];
|
||||
} else {
|
||||
return [];
|
||||
|
Loading…
Reference in New Issue
Block a user