Forfait maens not played as well

This commit is contained in:
Jeroen De Meerleer 2019-09-27 12:02:37 +02:00
parent 4d7fe79108
commit c480d13185
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 28CCCB8F62BFADD6

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));