aboutsummaryrefslogtreecommitdiff
path: root/src/team
diff options
context:
space:
mode:
Diffstat (limited to 'src/team')
-rw-r--r--src/team/run.php6
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"];