From: hickert Date: Fri, 18 Sep 2009 08:43:59 +0000 (+0000) Subject: Updated system listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5e439a8ac16b418894db5eca7faaf7f722ab4de2;p=gosa.git Updated system listing -Respect user-filter (regex) for listed opsi hosts. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14290 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index f60c5ce96..df39a9c3c 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -1468,7 +1468,7 @@ class systems extends plugin to avoid duplicate entries. */ foreach($opsi_clients as $entry){ - if(isset($opsi_map[$entry['cn'][0]])){ + if(isset($opsi_map[$entry['cn'][0]]) || !preg_match("/".$this->DivListSystem->Regex."/", $entry['cn'][0])){ continue; } $terminal = $entry;