From 793b380f2dfc4f866df41e65adbe306057dd9ebe Mon Sep 17 00:00:00 2001 From: cassiopc Date: Thu, 29 Aug 2013 15:40:58 +0200 Subject: bug fix: tasks were not appearing during frozen score but before stopping balloons --- src/frun.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/frun.php') diff --git a/src/frun.php b/src/frun.php index 14395e3..f786602 100644 --- a/src/frun.php +++ b/src/frun.php @@ -181,7 +181,7 @@ function DBUpdateRunC($contest, $usersite, $usernumber, $runsite, $runnumber, $a return true; $ta = $b["currenttime"]; $tf = $b["sitelastmileanswer"]; - if ($ta < $tf) { + if ($ta < $tf || $ta > $b['siteduration']) { $u = DBUserInfo ($contest, $runsite, $team, $c); if($u['usertype']=='team') { $p = DBGetProblemData ($contest, $temp["runproblem"],$c); @@ -190,6 +190,8 @@ function DBUpdateRunC($contest, $usersite, $usernumber, $runsite, $runnumber, $a $p[0]["problemname"] . ": " . $p[0]["fullname"]), "", "", "t", $p[0]["color"], $p[0]["colorname"], $c); } + } else { + LOGError("DBUpdateRunC: HIDDEN: user=$team,site=$runsite,contest=$contest would have a balloon for problem=" . $temp["runproblem"]); } } else if ($tinhabalao && !$tembalao) { $u = DBUserInfo ($contest, $runsite, $team, $c); -- cgit v1.2.3