mirror of https://github.com/BOINC/boinc.git
- web: fix in XML RPC to get pending credit
fixes #558 svn path=/trunk/boinc/; revision=14758
This commit is contained in:
parent
8ab95a6db9
commit
2e4c7ee41a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue