mirror of https://github.com/BOINC/boinc.git
- 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:
parent
0daa5a8802
commit
fca5836088
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue