From be5bf2b4ca8e75e33973e3a6f1d1d9a5302477d6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 3 Mar 2003 19:33:27 +0000 Subject: [PATCH] fixed team creation svn path=/trunk/boinc/; revision=1004 --- html/user/team_create_action.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/user/team_create_action.php b/html/user/team_create_action.php index 1155b1393e..8710573b04 100644 --- a/html/user/team_create_action.php +++ b/html/user/team_create_action.php @@ -16,7 +16,7 @@ echo "You must specify a name for your team."; } else { $query = sprintf( - "insert into team (userid, create_time, name, name_lc, url, type, name_html, description, nusers) values(%d, '%s', '%s', '%s', %d, '%s', '%s', %d)", + "insert into team (userid, create_time, name, name_lc, url, type, name_html, description, country, nusers) values(%d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d)", $user->id, time(), $HTTP_POST_VARS["name"], @@ -25,6 +25,7 @@ $HTTP_POST_VARS["type"], $HTTP_POST_VARS["name_html"], $HTTP_POST_VARS["description"], + $HTTP_POST_VARS["country"], 1 );