diff --git a/webapp/controller/TeamController.class.php b/webapp/controller/TeamController.class.php index d13f74e..24d8e22 100644 --- a/webapp/controller/TeamController.class.php +++ b/webapp/controller/TeamController.class.php @@ -16,7 +16,11 @@ class teamController{ public function createTeam() { - $team_uuid = md5($_REQUEST['account_id']); + $node_id = 1; + if (isset($_REQUEST['node_id'])) { + $node_id = (int)$_REQUEST['node_id']; + } + $team_uuid = $node_id . '_' . md5($_REQUEST['account_id']); $team_db = array( 'team_uuid' => $team_uuid,