From fc7990c62d85fdebef4a438a1fbc9d69a3710d55 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Wed, 22 Aug 2012 16:39:03 +0200 Subject: small bug fixes, inclusion of file size limit configurable --- boca-1.5.0/src/frun.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boca-1.5.0/src/frun.php') diff --git a/boca-1.5.0/src/frun.php b/boca-1.5.0/src/frun.php index 3ea398a..97abd1d 100644 --- a/boca-1.5.0/src/frun.php +++ b/boca-1.5.0/src/frun.php @@ -727,12 +727,12 @@ function DBNewRun($param,$c=null) { $b = DBSiteInfo($contest, $site, $c); $dif = $b["currenttime"]; $rundatediff = $dif; - if ($dif < 0) { + if ($dif < 0) { if(!isset($param['allowneg'])) { DBExec($c, "rollback work", "DBNewRun(rollback-started)"); LOGError("Tried to submit a run but the contest is not started. SQL=(" . $sql . ")"); MSGError("The contest is not started yet!"); return false; - } + } } if (!$b["siterunning"]) { DBExec($c, "rollback work", "DBNewRun(rollback-over)"); LOGError("Tried to submit a run but the contest is over. SQL=(" . $sql . ")"); -- cgit v1.2.3