From 6c100d221a6f74ad51b4095960461f42972d7e58 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Jan 2007 05:48:32 +0000 Subject: [PATCH] Updated acl list index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5604 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/acl/class_aclManagement.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/admin/acl/class_aclManagement.inc b/plugins/admin/acl/class_aclManagement.inc index 9d5757197..9e33b9bb0 100644 --- a/plugins/admin/acl/class_aclManagement.inc +++ b/plugins/admin/acl/class_aclManagement.inc @@ -316,7 +316,6 @@ class aclManagement extends plugin function reload() { - #FIXME Implement regex objectClass and so on ... /* Get divlist informations from filter part */ $Regex = $this->DivListACL -> Regex; $SubSearch = $this->DivListACL -> SubSearch; @@ -343,7 +342,7 @@ class aclManagement extends plugin $fetch_base = $base; $tmp = get_list($Filter, "acl", $fetch_base, $Attrs, $Flags); foreach($tmp as $entry){ - $res[$entry['dn']] = $entry; + $res[] = $entry; } }else{ @@ -360,7 +359,7 @@ class aclManagement extends plugin if($Type == "search"){ $tmp = get_list($Filter, "acl", $fetch_base, $Attrs, $Flags); foreach($tmp as $entry){ - $res[$entry['dn']] = $entry; + $res[] = $entry; } }else{ $ldap->cat($fetch_base,$Attrs); @@ -370,7 +369,7 @@ class aclManagement extends plugin if( (isset($attrs['cn'][0]) && preg_match("/".$re2."/i",$attrs['cn'][0])) |(isset($attrs['ou'][0]) && preg_match("/".$re2."/i",$attrs['ou'][0]))){ - $res[$attrs['dn']] = $attrs; + $res[] = $attrs; } } } -- 2.30.2