aboutsummaryrefslogtreecommitdiff
path: root/src/scoretable.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2013-09-02 13:45:59 +0000
committercassiopc <cassiopc@gmail.com>2013-09-02 13:45:59 +0000
commit056b014febb3fade0a685e119041f6b7a809328b (patch)
treedcbaa6c60ea01bc6023e71885ae9b9b22266ea6e /src/scoretable.php
parent8b8c1ab0f45aa2f4583ad009c1117e8529d1b53b (diff)
downloadboca-056b014febb3fade0a685e119041f6b7a809328b.tar.gz
boca-056b014febb3fade0a685e119041f6b7a809328b.zip
bug fixes
Diffstat (limited to 'src/scoretable.php')
-rw-r--r--src/scoretable.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scoretable.php b/src/scoretable.php
index ed24cf1..b63754e 100644
--- a/src/scoretable.php
+++ b/src/scoretable.php
@@ -104,8 +104,6 @@ if($_SESSION["usertable"]["usertype"]=='score' || $_SESSION["usertable"]["userty
$destination = $remotedir . $ds ."scores.zip";
if(is_writable($remotedir)) {
if($redo || !is_readable($destination)) {
- scoretransfer();
-
if (($s = DBSiteInfo($_SESSION["usertable"]["contestnumber"],$_SESSION["usertable"]["usersitenumber"])) == null)
ForceLoad("index.php");
@@ -139,6 +137,7 @@ if($_SESSION["usertable"]["usertype"]=='score' || $_SESSION["usertable"]["userty
} else {
@rename($fname . ".tmp",$destination);
}
+ scoretransfer($destination);
}
}
}