- web: report error correctly

svn path=/trunk/boinc/; revision=15980
This commit is contained in:
David Anderson 2008-09-09 06:07:54 +00:00
parent 7a2cc095bc
commit 95ebdbda2d
2 changed files with 10 additions and 2 deletions

View File

@ -7299,3 +7299,9 @@ David 8 Sept 2008
html/user/
hosts_user.php
David 9 Sept 2008
- web: report error correctly
html/user/
show_user.php

View File

@ -33,9 +33,11 @@ require_once("../inc/user.inc");
require_once("../inc/forum.inc");
require_once("../project/project.inc");
$id = get_int("userid", true);
$format = get_str("format", true);
$auth = get_str("auth", true);
if (!$auth) {
$id = get_int("userid");
}
$format = get_str("format", true);
if ($format=="xml"){
// XML doesn't need translating, so use the full-file cache for this