From a412f6d6d12aea39438b29572ec1005d5824acf4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 2 Sep 2009 15:23:20 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=18987 --- html/inc/host.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/inc/host.inc b/html/inc/host.inc index 4bcc5f1485..125dca5178 100644 --- a/html/inc/host.inc +++ b/html/inc/host.inc @@ -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 = "";