Code

Updated opsi host listing
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jul 2010 13:37:44 +0000 (13:37 +0000)
committerhickert <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

index e088db595a683b82e2804a179332c4e2f6fbfcc0..51d7a315f3488a8f9781af4752158a1ab5851f1f 100644 (file)
@@ -32,6 +32,7 @@ class filterOPSIHOSTS {
                     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;