From fc34e4398be36e7417518c1c47fb698f01db137c Mon Sep 17 00:00:00 2001 From: Matt Lebofsky Date: Mon, 25 Jun 2007 22:46:22 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=13022 --- html/user/top_hosts.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/html/user/top_hosts.php b/html/user/top_hosts.php index 715166f7b9..c143c228d3 100644 --- a/html/user/top_hosts.php +++ b/html/user/top_hosts.php @@ -34,9 +34,8 @@ if ($sort_by == "total_credit") { $sort_clause = "total_credit desc"; } else { $sort_clause = "expavg_credit desc"; - $sort_by = "total_credit"; } -$result = mysql_query("select * from host where $sort_by>0 and total_credit>300 order by $sort_clause limit $offset,$n"); +$result = mysql_query("select * from host where total_credit>300 order by $sort_clause limit $offset,$n"); top_host_table_start($sort_by); $i = $offset+1; while ($host = mysql_fetch_object($result)) {