BUGFIX: Forfait did not return not played

This commit is contained in:
Jeroen De Meerleer 2019-09-27 12:03:54 +02:00
parent 7d09e1be32
commit 8483d2556c
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -455,7 +455,7 @@ class Swar4 implements ReaderInterface
$result = Result::none; $result = Result::none;
break; break;
} }
if ($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table') == 16384) { if (array_search($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'), [ 16384, 8192 ]) !== false) {
$result = Result::absent; $result = Result::absent;
} }
$pairing->setResult(new Result($result)); $pairing->setResult(new Result($result));