diff --git a/checkin_notes b/checkin_notes index 7cf8cb7cb4..b847d82d0e 100755 --- a/checkin_notes +++ b/checkin_notes @@ -6429,4 +6429,5 @@ Bruce 11 May 2005 download_network.php top_teams.php show_host_detail.php + team_display.php diff --git a/html/user/team_display.php b/html/user/team_display.php index 103c86b2a2..40ecdc7114 100644 --- a/html/user/team_display.php +++ b/html/user/team_display.php @@ -2,8 +2,12 @@ require_once("../inc/cache.inc"); require_once("../inc/util.inc"); -$sort_by = $_GET["sort_by"]; -if (!$sort_by) $sort_by = "expavg_credit"; +if (isset($_GET["sort_by"])) { + $sort_by = $_GET["sort_by"]; +} else { + $sort_by = "expavg_credit"; +} + $offset = get_int("offset", true); if (!$offset) $offset=0; $teamid = get_int("teamid");