- web: fix bug in host list page

svn path=/trunk/boinc/; revision=15979
This commit is contained in:
David Anderson 2008-09-08 20:47:16 +00:00
parent 79fa10e8a7
commit 7a2cc095bc
2 changed files with 9 additions and 1 deletions

View File

@ -7293,3 +7293,9 @@ Charlie 8 Sep 2008
ViewProjects.cpp,.h
ViewTransfers.cpp,.h
ViewWork.cpp,.h
David 8 Sept 2008
- web: fix bug in host list page
html/user/
hosts_user.php

View File

@ -25,7 +25,9 @@ require_once("../inc/host.inc");
require_once("../inc/cache.inc");
function link_url($sort, $rev, $show_all) {
return "hosts_user.php?sort=$sort&rev=$rev&show_all=$show_all";
global $userid;
$x = $userid ? "&userid=$userid":"";
return "hosts_user.php?sort=$sort&rev=$rev&show_all=$show_all$x";
}
function link_url_rev($actual_sort, $sort, $rev, $show_all) {