mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-21 21:08:42 +00:00
fix: 8b45b03225
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
62d256835a
commit
3c3ec65551
@ -7,7 +7,7 @@ $res = [];
|
||||
foreach ($_GET['get'] as $id) {
|
||||
($submission = UOJSubmission::query($id)) || UOJResponse::page404();
|
||||
$submission->setProblem() || UOJResponse::page404();
|
||||
$submission->userIsSubmitter(Auth::user()) || UOJResponse::page403();
|
||||
// $submission->userIsSubmitter(Auth::user()) || UOJResponse::page403();
|
||||
$submission->userCanView(Auth::user(), ['ensure' => true]);
|
||||
$res[] = [
|
||||
'judged' => $submission->hasJudged(),
|
||||
|
Loading…
Reference in New Issue
Block a user