From 35df6e3bb203b881f8ebe81ce4e7b59f63dc5e56 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Thu, 29 Aug 2013 14:49:27 +0200 Subject: fixed disable logins bug --- src/fcontest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fcontest.php') diff --git a/src/fcontest.php b/src/fcontest.php index 16c4ad5..7733111 100644 --- a/src/fcontest.php +++ b/src/fcontest.php @@ -671,8 +671,8 @@ function DBUpdateSite ($param,$c=null) { $sql .= " sitelastmilescore=$sitelastmilescore, "; if($sitescorelevel > -5) $sql .= " sitescorelevel=$sitescorelevel, "; - $sql .= " updatetime=".$updatetime." where contestnumber=$contestnumber and sitenumber=$sitenumber " . - "and updatetime < $updatetime"; + $sql .= " updatetime=".$updatetime." where contestnumber=$contestnumber and sitenumber=$sitenumber "; + //. "and updatetime < $updatetime"; DBExec($c,$sql, "DBUpdateSite(update site)"); if($docommit) { DBExec($c, "commit work", "DBUpdateSite(commit-update)"); -- cgit v1.2.3