From 7914d8d19e8d7c0aaa6ad377bf83b59bf55b27dc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 14 Apr 2004 21:27:48 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3262 --- html/user/results.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/html/user/results.php b/html/user/results.php index 972d9b2e2a..d5ff3c5b80 100644 --- a/html/user/results.php +++ b/html/user/results.php @@ -17,11 +17,8 @@ if ($hostid) { $host = lookup_host($hostid); - // if (!$host || $host->userid != $user->id) { - // echo "No access"; - // exit(); - // } $type = "host"; + $link = "host $hostid"; $clause = "hostid=$hostid"; } else { if ($userid != $user->id) { @@ -29,10 +26,11 @@ exit(); } $type = "user"; + $link = "user"; $clause = "userid=$userid"; } page_head("Results for $type"); - echo "

Results for $type

\n"; + echo "

Results for $link

\n"; result_table_start(true, false, true); $i = 0; $query = "select * from result where $clause order by id desc limit $offset,".($results_per_page+1);