diff --git a/webapp/controller/TeamController.class.php b/webapp/controller/TeamController.class.php index 94f176d..5c964cb 100644 --- a/webapp/controller/TeamController.class.php +++ b/webapp/controller/TeamController.class.php @@ -213,7 +213,7 @@ class TeamController{ $equip_id = $_REQUEST['equip_id']; } $accountid = $_REQUEST['account_id']; - $conn = $this->getMysql($account_id); + $conn = $this->getMysql($accountid); $row = $conn->execQueryOne('SELECT game_times, win_times, kills FROM user WHERE accountid=:accountid;', array( 'accountid' => $accountid,