BUGFIX: Forfait did not return not played

This commit is contained in:
Jeroen De Meerleer 2019-09-27 12:03:54 +02:00
parent 5350b75820
commit 32af0670af

View File

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