mirror of https://github.com/BOINC/boinc.git
Eliminate undefined index
svn path=/trunk/boinc/; revision=6118
This commit is contained in:
parent
614c50bd20
commit
dbae4e9ca1
|
@ -6431,5 +6431,6 @@ Bruce 11 May 2005
|
|||
show_host_detail.php
|
||||
team_display.php
|
||||
top_hosts.php
|
||||
top_users.php
|
||||
logout.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