From 5d4eca5257a60c5f1de043fdf3f67e0a9df011f4 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Wed, 8 Aug 2012 19:52:19 +0200 Subject: many small bug fixes --- boca-1.5.0/src/admin/contest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'boca-1.5.0/src/admin/contest.php') 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"); } -- cgit v1.2.3