summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87bafac)
raw | patch | inline | side by side (parent: 87bafac)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Jul 2010 13:37:44 +0000 (13:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Jul 2010 13:37:44 +0000 (13:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19113 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc b/gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc
index e088db595a683b82e2804a179332c4e2f6fbfcc0..51d7a315f3488a8f9781af4752158a1ab5851f1f 100644 (file)
foreach($opsi_clients as $entry){
if(empty($fAttr) || preg_match("/{$fValue}/i",$entry[$fAttr][0])){
$entry['objectClass'] = array("FAKE_OC_OpsiHost");
+ if(!isset($entry['description'])) $entry['description'] = "";
$item = array('count' => count($entry));
foreach($entry as $name => $value){
$item[] = $name;