- web RPC: fix bug in XML variant in show_user.php, bad-ID case.

html/user/
    show_user.php


svn path=/trunk/boinc/; revision=12653
This commit is contained in:
David Anderson 2007-05-11 17:42:33 +00:00
parent 0daa5a8802
commit fca5836088
2 changed files with 9 additions and 1 deletions

View File

@ -4846,3 +4846,9 @@ David 11 May 2007
translation.inc
sched/
*.C
David 11 May 2007
- web RPC: fix bug in XML variant in show_user.php, bad-ID case.
html/user/
show_user.php

View File

@ -34,7 +34,9 @@ if ($format=="xml"){
$show_hosts = true;
} else {
$user = lookup_user_id($id);
$user = get_other_projects($user);
if ($user) {
$user = get_other_projects($user);
}
$show_hosts = false;
}
if (!$user) xml_error(-136);