From 55fc0ae84fb09c0404507b5a14884371beeb68f8 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Dec 2006 12:29:46 +0000 Subject: [PATCH] Made code more readable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5383 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/acl/class_aclManagement.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/admin/acl/class_aclManagement.inc b/plugins/admin/acl/class_aclManagement.inc index 9d96d40d1..a6ce227dd 100644 --- a/plugins/admin/acl/class_aclManagement.inc +++ b/plugins/admin/acl/class_aclManagement.inc @@ -322,7 +322,8 @@ class aclManagement extends plugin $SubSearch = $this->DivListACL -> SubSearch; $base = $_SESSION['CurrentMainBase']; $Attrs = array("ou","gosaAclEntry","objectClass"); - $res = $tmp = array(); // Will contain temporary results + $res = array(); + $tmp = array(); // Will contain temporary results $ldap = $this->config->get_ldap_link(); $Filter = "(&(objectClass=gosaACL)(gosaAclEntry=*)(|(cn=".$Regex.")(ou=".$Regex.")))"; @@ -343,6 +344,8 @@ class aclManagement extends plugin $res = get_list($Filter, "acl", $fetch_base, $Attrs, $Flags); }else{ + + /* Walk through all possible bases */ foreach($fetch_this as $type => $data){ /* Get requried attributes */ -- 2.30.2