diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-08-29 11:33:19 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-08-29 11:33:19 +0000 |
| commit | 89826fe55b3345238c1a9f27f6529641eccfd4c6 (patch) | |
| tree | 63307a23d1dd9bf06931d8b8f2de18c29c52fadc | |
| parent | 5e78045901f5ff9e41b4a132ddc8d2ac9959e327 (diff) | |
| download | boca-89826fe55b3345238c1a9f27f6529641eccfd4c6.tar.gz boca-89826fe55b3345238c1a9f27f6529641eccfd4c6.zip | |
bug fix
| -rw-r--r-- | src/frun.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frun.php b/src/frun.php index 77677ad..e4fd323 100644 --- a/src/frun.php +++ b/src/frun.php @@ -514,7 +514,7 @@ function DBGiveUpRunAutojudging($contest, $site, $number, $ip="", $ans="", $from $t = time(); $b = DBSiteInfo($contest, $site, $c); - if($fromadmin && $b["siteautojudge"]=="t") { + if(!$fromadmin && $b["siteautojudge"]=="t") { if(DBUpdateRunO($contest, $site, $a["usernumber"], $site, $number, 7, $c)==false) { // 7 means contact staff DBExec($c, "rollback work", "DBGiveUpRunAutojudging(rollback auto)"); LOGError("Unable to automatically update a run answer (run=$number, site=$site, ". |