mirror of https://github.com/BOINC/boinc.git
fixed team creation
svn path=/trunk/boinc/; revision=1004
This commit is contained in:
parent
d3f39446b7
commit
be5bf2b4ca
|
@ -16,7 +16,7 @@
|
||||||
echo "You must specify a name for your team.";
|
echo "You must specify a name for your team.";
|
||||||
} else {
|
} else {
|
||||||
$query = sprintf(
|
$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,
|
$user->id,
|
||||||
time(),
|
time(),
|
||||||
$HTTP_POST_VARS["name"],
|
$HTTP_POST_VARS["name"],
|
||||||
|
@ -25,6 +25,7 @@
|
||||||
$HTTP_POST_VARS["type"],
|
$HTTP_POST_VARS["type"],
|
||||||
$HTTP_POST_VARS["name_html"],
|
$HTTP_POST_VARS["name_html"],
|
||||||
$HTTP_POST_VARS["description"],
|
$HTTP_POST_VARS["description"],
|
||||||
|
$HTTP_POST_VARS["country"],
|
||||||
1
|
1
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue