Merge branch 'bugfix/result-none-isnotplayed' into develop

This commit is contained in:
Jeroen De Meerleer 2019-09-27 12:02:44 +02:00
commit b30bc7d256
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));