mirror of https://github.com/BOINC/boinc.git
user web: fix PHP warning when netsoft stats are down
svn path=/trunk/boinc/; revision=21422
This commit is contained in:
parent
a4de51d667
commit
ea8fd996a0
|
@ -3424,3 +3424,9 @@ David 8 May 2010
|
|||
|
||||
client/
|
||||
net_stats.cpp
|
||||
|
||||
Rytis 9 May 2010
|
||||
- user web: fix PHP warning when netsoft stats are down
|
||||
|
||||
html/inc/
|
||||
user.inc
|
||||
|
|
|
@ -76,7 +76,7 @@ function parse_user($f, $user) {
|
|||
function get_other_projects($user) {
|
||||
$cpid = md5($user->cross_project_id . $user->email_addr);
|
||||
$url = "http://boinc.netsoft-online.com/get_user.php?cpid=$cpid";
|
||||
$f = fopen($url, "r");
|
||||
$f = @fopen($url, "r");
|
||||
if (!$f) {
|
||||
return $user;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue