Merge branch 'meta/fixes' into develop

This commit is contained in:
Jeroen De Meerleer 2019-12-22 18:15:29 +01:00
commit 6f78b4ebe1
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
4 changed files with 9 additions and 15 deletions

2
dist/template.php vendored
View File

@ -2,7 +2,7 @@
// EDIT ME!
$pairingfile = 'your pairing-file.swar';
$fileformat = 'Swar-4'; // Possible getValue()s: Pairtwo-5, Pairtwo-6, Swar-4
$fileformat = 'Swar-4'; // Possible values: Pairtwo-5, Pairtwo-6, Swar-4
?>
<!doctype html>

View File

@ -150,14 +150,11 @@ class Round
{
if ($key == 'Bye') {
return $this->bye();
}
elseif ($key == 'Absent') {
} elseif ($key == 'Absent') {
return $this->absent();
}
elseif ($key == 'GamesByBoard') {
} elseif ($key == 'GamesByBoard') {
return $this->gamesByBoard();
}
elseif (isset($this->BinaryData[$key])) {
} elseif (isset($this->BinaryData[$key])) {
return $this->BinaryData[$key];
}
return null;

View File

@ -928,14 +928,11 @@ class Tournament
{
if ($key == 'Participants') {
return $this->participants();
}
elseif ($key == 'AverageElo') {
} elseif ($key == 'AverageElo') {
return $this->averageElo();
}
elseif ($key == 'Ranking') {
} elseif ($key == 'Ranking') {
return $this->ranking();
}
elseif (isset($this->BinaryData[$key])) {
} elseif (isset($this->BinaryData[$key])) {
return $this->BinaryData[$key];
}
return null;