From: hickert Date: Mon, 26 Jul 2010 13:37:44 +0000 (+0000) Subject: Updated opsi host listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b27dd097b398a9bce1f4317bf128bc4dda67d32;p=gosa.git Updated opsi host listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19113 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc b/gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc index e088db595..51d7a315f 100644 --- a/gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc +++ b/gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc @@ -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;