aboutsummaryrefslogtreecommitdiff
path: root/src/fextdata.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/fextdata.php')
-rw-r--r--src/fextdata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fextdata.php b/src/fextdata.php
index e688347..b38be3c 100644
--- a/src/fextdata.php
+++ b/src/fextdata.php
@@ -422,7 +422,7 @@ function getMainXML($contest,$timeo=20,$upd=false) {
return $logstr;
}
-function importFromXML($ar,$contest,$site,$tomain=false,$uptime=0,$mainsite=1) {
+function importFromXML($ar,$contest,$site,$tomain=false,$uptime=0,$mainsite=-1) {
LOGInfo("importFromXML: contest $contest site $site tomain $tomain");
$logstr = '';
if($tomain) $serv='Main'; else $serv='Local';