mirror of https://github.com/BOINC/boinc.git
eliminate undefined index
svn path=/trunk/boinc/; revision=6115
This commit is contained in:
parent
35847ea4bf
commit
f17972048e
|
@ -6430,4 +6430,5 @@ Bruce 11 May 2005
|
|||
top_teams.php
|
||||
show_host_detail.php
|
||||
team_display.php
|
||||
top_hosts.php
|
||||
|
||||
|
|
|
@ -5,8 +5,11 @@ require_once("../inc/util.inc");
|
|||
|
||||
$n = 20;
|
||||
|
||||
$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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue