aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-10-30 17:27:57 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-10-30 17:27:57 +0000
commit5977b90537aec964301a7f03e188eef2fb5cb2b4 (patch)
tree75cff1880c8d3c21245bc8fb93477df1ec362a44
parentba95c8af8f5661a6c2d6937840fa61d2ad23b0e8 (diff)
downloadboca-5977b90537aec964301a7f03e188eef2fb5cb2b4.tar.gz
boca-5977b90537aec964301a7f03e188eef2fb5cb2b4.zip
bf
-rw-r--r--debian/control2
-rw-r--r--src/fextdata.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index e1fbb60..fbac1f3 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Description: Virtual package that depends on BOCA
Package: boca
Architecture: amd64
-Depends: php-zip, debootstrap, schroot, quotatool, makepasswd, apache2, libapache2-mod-php, sharutils, wget, coreutils, php, php-cli, php-mcrypt, php-pgsql, php-gd, postgresql, postgresql-client, libany-uri-escape-perl
+Depends: php-zip, debootstrap, schroot, quotatool, makepasswd, apache2, libapache2-mod-php, sharutils, wget, coreutils, php, php-cli, php-mcrypt, php-pgsql, php-gd, postgresql, postgresql-client, libany-uri-escape-perl, php-xml
Description: BOCA is a software created to control a contest with the ACM ICPC rules.
BOCA is a software created to control a contest with the ACM International
Collegiate Programming Contest rules. It has been developed in PHP and the
diff --git a/src/fextdata.php b/src/fextdata.php
index cde38b3..b64bfeb 100644
--- a/src/fextdata.php
+++ b/src/fextdata.php
@@ -407,7 +407,7 @@ function getMainXML($contest,$timeo=5,$upd=false) {
function importFromXML($ar,$contest,$site,$tomain=false,$uptime=0) {
LOGInfo("importFromXML: contest $contest site $site tomain $tomain");
- $logstr .= '';
+ $logstr = '';
if($tomain) $serv='Main'; else $serv='Local';
$data = implode("",explode("\n",$ar));
$parser = xml_parser_create('');