diff --git a/GameEngine/Account.php b/GameEngine/Account.php index a142fc5e..65a0570c 100755 --- a/GameEngine/Account.php +++ b/GameEngine/Account.php @@ -207,7 +207,7 @@ class Account { $database->updateUserField( $uid, ["act", "invited"], - ["", $_POST['invited'] ?? ''], + ["", (int)($_POST['invited'] ?? 0)], 1 );