From cd3d00b6b76c96076202bcd63867c515e25b7794 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Fri, 11 Aug 2017 17:22:56 +0100 Subject: bug fixes --- src/team/run.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/team') 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"]; -- cgit v1.2.3