diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc
index aaedbbee13238dec2f9c85281e53932b487179bb..a74335c38c94745b37c9d7d335c88f69ae1e15b3 100644 (file)
$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';
}