- web: fix in XML RPC to get pending credit

fixes #558


svn path=/trunk/boinc/; revision=14758
This commit is contained in:
David Anderson 2008-02-18 23:48:07 +00:00
parent 8ab95a6db9
commit 2e4c7ee41a
2 changed files with 9 additions and 2 deletions

View File

@ -1446,3 +1446,9 @@ David Feb 17 2008
sched/
sched_hr.C
David Feb 18 2008
- web: fix in XML RPC to get pending credit
html/user/
pending.php

View File

@ -1,5 +1,4 @@
<?php
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
// Show results with pending credit for a user
@ -17,7 +16,8 @@ $format = get_str("format", true);
if ($format == "xml") {
xml_header();
$user = get_user_from_auth(get_str("authenticator"));
$auth = process_user_text(get_str('authenticator'));
$user = BoincUser::lookup("authenticator='$auth'");
if (!$user) {
echo "<error>".xml_error(-136)."</error>\n";
exit();
@ -60,4 +60,5 @@ if ($format == "xml") {
page_tail();
}
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
?>