diff --git a/html/user/team_remove_inactive_action.php b/html/user/team_remove_inactive_action.php index c90c1f14ef..9dde6cea72 100644 --- a/html/user/team_remove_inactive_action.php +++ b/html/user/team_remove_inactive_action.php @@ -45,7 +45,7 @@ if ($new_nusers > 0) { $query = "update team set nusers = $new_nusers where id = $team->id"; } else { - $query = "remove from team where id=$team->id"; + $query = "delete from team where id = $team->id"; echo "

The team has been disbanded because there are no more members."; } $result = mysql_query($query);