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
1 changed files with 4 additions and 1 deletions

View File

@ -1325,7 +1325,10 @@ class Tournament
*/
public function getBinaryData(string $Key)
{
return $this->BinaryData[$Key];
if (isset($this->BinaryData[$Key])) {
return $this->BinaryData[$Key];
}
return null;
}
/**