From 5e439a8ac16b418894db5eca7faaf7f722ab4de2 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 18 Sep 2009 08:43:59 +0000 Subject: [PATCH] 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 --- gosa-plugins/systems/admin/systems/class_systemManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2