From 5cc4897509062ed8e3f6b93e406ec8193fb193c4 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 26 Aug 2009 08:57:00 +0000 Subject: [PATCH] Updated filter definitions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14137 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_filter.inc | 4 ++-- gosa-core/plugins/admin/users/user-filter.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 @@ - + -- 2.30.2