mirror of https://github.com/BOINC/boinc.git
Get rid of another undefined index
svn path=/trunk/boinc/; revision=6113
This commit is contained in:
parent
a84e48af43
commit
39dbc2fd3c
|
@ -6429,4 +6429,5 @@ Bruce 11 May 2005
|
|||
download_network.php
|
||||
top_teams.php
|
||||
show_host_detail.php
|
||||
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");
|
||||
|
|
Loading…
Reference in New Issue