aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.0/src/admin/contest.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2012-08-08 17:52:19 +0000
committercassiopc <cassiopc@gmail.com>2012-08-08 17:52:19 +0000
commit5d4eca5257a60c5f1de043fdf3f67e0a9df011f4 (patch)
tree6d4ec6ffe1b6490be4120c0f06ae6cdabca41dd8 /boca-1.5.0/src/admin/contest.php
parentf8c7c32e3ea6417ccf04309ec521b39a0c20414d (diff)
downloadboca-5d4eca5257a60c5f1de043fdf3f67e0a9df011f4.tar.gz
boca-5d4eca5257a60c5f1de043fdf3f67e0a9df011f4.zip
many small bug fixes
Diffstat (limited to 'boca-1.5.0/src/admin/contest.php')
-rw-r--r--boca-1.5.0/src/admin/contest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/boca-1.5.0/src/admin/contest.php b/boca-1.5.0/src/admin/contest.php
index 361b55b..ddffed4 100644
--- a/boca-1.5.0/src/admin/contest.php
+++ b/boca-1.5.0/src/admin/contest.php
@@ -95,12 +95,16 @@ if (isset($_POST["Submit3"]) && isset($_POST["penalty"]) && is_numeric($_POST["p
if($dd > 0) {
$param['keys']=implode(',',$ar);
MSGError(count($ar) . ' keys are being imported from the file');
+ DBClearProblemTmp($_SESSION["usertable"]["contestnumber"]);
}
}
$param['atualizasites']=$at;
}
DBUpdateContest ($param);
- if(strlen($param['unlockkey'])>1) DBGetFullProblemData($_SESSION["usertable"]["contestnumber"],true);
+ if(strlen($param['unlockkey'])>1) {
+ DBClearProblemTmp($_SESSION["usertable"]["contestnumber"]);
+ DBGetFullProblemData($_SESSION["usertable"]["contestnumber"],true);
+ }
}
ForceLoad("contest.php");
}