projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Tue 5/21/13 15:49
Michael Larabel  
Phoronix Test Suite... 
Fri 5/17/13 22:52
Michael Larabel  
phodevi: Report CPU... 
Wed 5/15/13 21:50
Michael Larabel  
Phoronix Test Suite... 
Wed 5/15/13 21:39
Michael Larabel  
pts-core: DragonFlyBSD... 
Wed 5/15/13 15:47
Michael Larabel  
pts-core: Updates from... 
Wed 5/15/13 15:43
Michael Larabel  
 
 
> --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';
         }
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media