Code

Applied in_array strict patches from trunk
[gosa.git] / gosa-core / plugins / generic / statistics / class_statistics.inc
index aaedbbee13238dec2f9c85281e53932b487179bb..a74335c38c94745b37c9d7d335c88f69ae1e15b3 100644 (file)
@@ -366,12 +366,12 @@ class statistics extends plugin
         $gData['objectCountPerInterval'] = array(); 
         foreach($res['objectCountPerInterval'] as $category => $data){
             if(empty($category)) continue;
-            if(in_array($category,$mapSystems)){
+            if(in_array_strict($category,$mapSystems)){
                 $category = 'systems';
             }
 
             // Skip series which are not interesting for us
-            if(!in_array($category,array('users','groups','department','systems','ogroups','fai'))){
+            if(!in_array_strict($category,array('users','groups','department','systems','ogroups','fai'))){
                 $category = 'remaining';
             }