Code

Made code more readable
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 13 Dec 2006 12:29:46 +0000 (12:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 13 Dec 2006 12:29:46 +0000 (12:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5383 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/acl/class_aclManagement.inc

index 9d96d40d11d760771399d9b9d46dbd93fc8c239d..a6ce227ddb6530c7d63befbd7ce074671253f515 100644 (file)
@@ -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 */