Need to calculate with value

This commit is contained in:
Jeroen De Meerleer 2023-01-24 10:31:12 +01:00
parent 466bb2bfec
commit 2d9fbe8433
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -87,8 +87,8 @@ class Game
$whiteResult = $this->White->Result; $whiteResult = $this->White->Result;
$blackResult = $this->Black->Result; $blackResult = $this->Black->Result;
$whitesplit = explode(" ", $whiteResult); $whitesplit = explode(" ", $whiteResult->value);
$blacksplit = explode(" ", $blackResult); $blacksplit = explode(" ", $blackResult->value);
$special = ''; $special = '';
if (isset($whitesplit[ 1 ]) && $whitesplit[ 1 ] != 'Bye') { if (isset($whitesplit[ 1 ]) && $whitesplit[ 1 ] != 'Bye') {