From 4b27dd097b398a9bce1f4317bf128bc4dda67d32 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Jul 2010 13:37:44 +0000 Subject: [PATCH] Updated opsi host listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19113 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_filterOPSIHOSTS.inc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2