mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2042
This commit is contained in:
parent
2c3a9f1245
commit
4443e0e082
|
@ -144,7 +144,7 @@ function user_join_team($team, $user) {
|
|||
$first_team = mysql_fetch_object($result_team_other);
|
||||
$first_nusers = $first_team->nusers;
|
||||
$first_new_nusers = $first_nusers - 1;
|
||||
if ($first_new_nusers) {
|
||||
if ($first_new_nusers > 0) {
|
||||
$query_team_table_other = sprintf(
|
||||
"update team set nusers = %d where id = %d",
|
||||
$first_new_nusers,
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
$result_user_table = mysql_query($query_user_table);
|
||||
$nusers = $team->nusers;
|
||||
$new_nusers = $nusers - 1;
|
||||
if ($new_nusers) {
|
||||
if ($new_nusers > 0) {
|
||||
$query_team_table = sprintf(
|
||||
"update team set nusers = %d where id = %d",
|
||||
$new_nusers,
|
||||
|
|
Loading…
Reference in New Issue