Commit 9e64a7dd authored by tbrehm's avatar tbrehm

Fixed a bug in cpu info in the monitor module.

parent b398c43e
......@@ -320,7 +320,7 @@ class monitor_core_module {
$key = trim($part[0]);
$value = trim($part[1]);
if($key == 'processor') $processor = intval($value);
$data[$key.' '.$processor] = $value;
if($key != '') $data[$key.' '.$processor] = $value;
}
/* the cpu has no state. It is, what it is */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment