diff options
| author | Bruno Ribas <brunoribas@gmail.com> | 2023-03-29 13:39:42 +0000 |
|---|---|---|
| committer | Bruno Ribas <brunoribas@gmail.com> | 2023-03-29 13:39:42 +0000 |
| commit | 2611b34940fd7e992d609156ab36a2074b7390bf (patch) | |
| tree | efa5684002fc679367de1b27731f6814d49fb20a /src | |
| parent | a2f7bf224c020bc33ade7f0949cc595f935391f8 (diff) | |
| parent | c82dc4785c6c42067e7b2351256f436af8d1e494 (diff) | |
| download | boca-2611b34940fd7e992d609156ab36a2074b7390bf.tar.gz boca-2611b34940fd7e992d609156ab36a2074b7390bf.zip | |
Merge branch 'master' of github.com:cassiopc/boca
Diffstat (limited to 'src')
| -rw-r--r-- | src/flog.php | 2 | ||||
| -rw-r--r-- | src/frun.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/flog.php b/src/flog.php index b8f4122..ca168f0 100644 --- a/src/flog.php +++ b/src/flog.php @@ -177,7 +177,7 @@ function DBLogInContest($name,$pass,$contest,$msg=true) { unset($_SESSION["usertable"]); return false; } - //if($prevuser != $ccode && $a["usertype"] == "team") { + //if($prevuser != $ccode && $a["usertype"] == "team" && $a["usermultilogin"] != "t") { // LOGLevel("User $name tried to log in contest $contest but computer is invalid ($ccode).",2); // if($msg) MSGError("Invalid computer (3)."); // unset($_SESSION["usertable"]); diff --git a/src/frun.php b/src/frun.php index 75ccc2a..10074e8 100644 --- a/src/frun.php +++ b/src/frun.php @@ -180,7 +180,7 @@ function DBUpdateRunC($contest, $usersite, $usernumber, $runsite, $runnumber, $a if (($b = DBSiteInfo($contest, $runsite, $c)) == null) return true; $ta = $b["currenttime"]; - $tf = $b["sitelastmileanswer"]; + $tf = $b["sitelastmilescore"]; if ($ta < $tf || $ta > $b['siteduration']) { $u = DBUserInfo ($contest, $runsite, $team, $c); if($u['usertype']=='team') { |