Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49
Recent Commits
>
--git a/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php b/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php
index 4377f01..fe17710 100644
--- a/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php
+++ b/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php
@@ -40,11 +40,11 @@ class pts_DetailedSystemComponentTable extends pts_SideViewTable
return false;
}
- if(in_array('Processor', $intent[0]))
+ if(is_array($intent[0]) && in_array('Processor', $intent[0]))
{
$component_report = 'Processor';
}
- else if(in_array('Graphics', $intent[0]))
+ else if(is_array($intent[0]) && in_array('Graphics', $intent[0]))
{
$component_report = 'Graphics';
}
<
Copyright © 2013 by Phoronix Media