From 6b0ef8a2f25a8ded36140ec29a34b7e72fa6ec37 Mon Sep 17 00:00:00 2001 From: Didiboo <63944991+Didiboo@users.noreply.github.com> Date: Fri, 17 Jul 2026 06:49:20 +0200 Subject: [PATCH] Account.php (#333) --- GameEngine/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );