mirror of https://github.com/BOINC/boinc.git
svn path=/trunk/boinc/; revision=18987
This commit is contained in:
parent
dd2bb6d4ba
commit
a412f6d6d1
|
@ -233,12 +233,12 @@ function host_nresults($host) {
|
|||
// format a GPU description string of the form [BOINC|vers][type|model|number|RAM]
|
||||
//
|
||||
function gpu_desc($x) {
|
||||
if (!$x) return "";
|
||||
// skip BOINC part
|
||||
$y = strstr($x, 'BOINC');
|
||||
if ($y) {
|
||||
$x = strstr($y, "[");
|
||||
}
|
||||
if (!$x) return "";
|
||||
$x = substr($x, 1, -1);
|
||||
$y = explode("|", $x);
|
||||
$z = "";
|
||||
|
|
Loading…
Reference in New Issue