From 7a2cc095bc604b5993f824bf648d462dc799c0e2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 8 Sep 2008 20:47:16 +0000 Subject: [PATCH] - web: fix bug in host list page svn path=/trunk/boinc/; revision=15979 --- checkin_notes | 6 ++++++ html/user/hosts_user.php | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 4ac1590f3a..055ed52a71 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/html/user/hosts_user.php b/html/user/hosts_user.php index d53dc5ed6a..5e548cfd16 100644 --- a/html/user/hosts_user.php +++ b/html/user/hosts_user.php @@ -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) {