diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-08-11 16:22:56 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-08-11 16:22:56 +0000 |
| commit | cd3d00b6b76c96076202bcd63867c515e25b7794 (patch) | |
| tree | 08dabc574fc5713a157013323dae465468762222 /src/team | |
| parent | 2335bd3439bba04867b91ceae7abd36b5a913129 (diff) | |
| download | boca-cd3d00b6b76c96076202bcd63867c515e25b7794.tar.gz boca-cd3d00b6b76c96076202bcd63867c515e25b7794.zip | |
bug fixes
Diffstat (limited to 'src/team')
| -rw-r--r-- | src/team/run.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/team/run.php b/src/team/run.php index 1ed736d..012030a 100644 --- a/src/team/run.php +++ b/src/team/run.php @@ -127,11 +127,11 @@ if (isset($_POST["problem"]) && isset($_POST["language"]) && 'filename'=>$name, 'filepath'=>$temp); $compv = "errorseed-5847245-errorseed"; -// if(isset($_POST['comp']) && $_POST['comp'] != '') $compv=trim(myhtmlspecialchars($_POST['comp'])); -// else { + if(isset($_POST['comp']) && $_POST['comp'] != '') $compv=trim(myhtmlspecialchars($_POST['comp'])); + else { echo "\nRESULT: ERROR COMPUTER KEY"; exit; -// } + } $verify = $compv . '-'. $shaf . '-' . $name . '-'. $prob . '-' . $lang . '-' . $_SESSION["usertable"]["contestnumber"].'-'.$_SESSION["usertable"]["usersitenumber"].'-'.$_SESSION["usertable"]["usernumber"]; |