From: cajus Date: Wed, 26 Aug 2009 08:57:00 +0000 (+0000) Subject: Updated filter definitions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5cc4897509062ed8e3f6b93e406ec8193fb193c4;p=gosa.git Updated filter definitions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14137 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_filter.inc b/gosa-core/include/class_filter.inc index 1a058950a..30f3cf291 100644 --- a/gosa-core/include/class_filter.inc +++ b/gosa-core/include/class_filter.inc @@ -54,11 +54,11 @@ class filter { $contents = file_get_contents($filename); $this->xmlData= xml::xml2array($contents, 1); - if (!isset($this->xmlData['filter'])) { + if (!isset($this->xmlData['filterdef'])) { return false; } - $this->xmlData= $this->xmlData["filter"]; + $this->xmlData= $this->xmlData["filterdef"]; // Load filter if (isset($this->xmlData['search'])) { diff --git a/gosa-core/plugins/admin/users/user-filter.xml b/gosa-core/plugins/admin/users/user-filter.xml index 8dbe2590d..ba15bcb9e 100644 --- a/gosa-core/plugins/admin/users/user-filter.xml +++ b/gosa-core/plugins/admin/users/user-filter.xml @@ -1,6 +1,6 @@ - + users @@ -114,4 +114,4 @@ - +