diff --git a/checkin_notes b/checkin_notes index 973e59e154..56d1ccc678 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/html/user/show_user.php b/html/user/show_user.php index c586012404..da349546ee 100644 --- a/html/user/show_user.php +++ b/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);