aboutsummaryrefslogtreecommitdiff
path: root/src/site/getsite.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/site/getsite.php')
-rw-r--r--src/site/getsite.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/site/getsite.php b/src/site/getsite.php
index 08235a0..e285778 100644
--- a/src/site/getsite.php
+++ b/src/site/getsite.php
@@ -38,7 +38,9 @@ if($ct["contestlocalsite"]==$ct["contestmainsite"]) {
if(strtoupper(substr($s,0,5)) != "<XML>") {
echo "<!-- <ERROR8> ".session_id() . " -->\n";
} else {
- if(importFromXML($s,$_SESSION["usertable"]["contestnumber"],$fromsite,true))
+ $resp = importFromXML($s,$_SESSION["usertable"]["contestnumber"],$fromsite,true);
+ echo $resp[0];
+ if($resp[1])
echo "<!-- <OK> -->\n";
else
echo "<!-- <NOTOK> -->\n";