diff --git a/html/user/team_remove_inactive_action.php b/html/user/team_remove_inactive_action.php index 6c4724f9d9..c90c1f14ef 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 team where id=$team->id"; + $query = "remove from team where id=$team->id"; echo "

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