Tournament::getbinarydata returning null

This commit is contained in:
Jeroen De Meerleer 2019-09-25 14:55:59 +02:00
parent c61876c87e
commit ae8121959e
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -1325,8 +1325,11 @@ class Tournament
*/ */
public function getBinaryData(string $Key) public function getBinaryData(string $Key)
{ {
if (isset($this->BinaryData[$Key])) {
return $this->BinaryData[$Key]; return $this->BinaryData[$Key];
} }
return null;
}
/** /**
* Sets binary data that is read out the pairing file but is not needed immediately * Sets binary data that is read out the pairing file but is not needed immediately