mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-21 21:08:42 +00:00
fix(uoj/1/app/controllers): fix Judgement Failed submissions table not shown for superuser
When printing the table of Judgement Failed items at super-manage, there is nothing shown. It caused by using echoSubmissionsList(), arguments that 3 passed but exactly 4 expected. So add the missing argument, and let the result hidden because we select an exact result. Also, because of the typo of "Judgement", there will be nothing shown if only fixed too few arguments. This commit changes it too.
This commit is contained in:
parent
923e1e61f8
commit
58e70164ba
@ -295,7 +295,7 @@ EOD;
|
||||
</div>
|
||||
<div>
|
||||
<h4>测评失败的提交记录</h4>
|
||||
<?php echoSubmissionsList("result_error = 'Judgment Failed'", 'order by id desc', $myUser); ?>
|
||||
<?php echoSubmissionsList("result_error = 'Judgement Failed'", 'order by id desc', array('result_hidden' => ''), $myUser); ?>
|
||||
</div>
|
||||
<?php elseif ($cur_tab === 'custom-test'): ?>
|
||||
<?php $custom_test_deleter->printHTML() ?>
|
||||
|
Loading…
Reference in New Issue
Block a user