Fixing absent and forfait since tables has been implemented

This commit is contained in:
Jeroen De Meerleer 2019-10-26 14:23:33 +02:00
parent 542c5ae554
commit fd35603fef
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 (array_search($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'), [ 16384, 8192 ]) !== false) {
if (array_search($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'), [ 16383, 8191 ]) !== false) {
$result = Result::Absent;
}
$pairing->setResult(new Result($result));