Code

Fixed remove_multiple in groups
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Sep 2007 06:26:58 +0000 (06:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Sep 2007 06:26:58 +0000 (06:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7341 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupManagement.inc

index f202fa5e36ea4442d6bf7d8d65a5ad8efda3151d..67cd7091cc908c6869ba3b45be75a8acfc4b974b 100644 (file)
@@ -268,12 +268,12 @@ class groupManagement extends plugin
 
           /* Load permissions for selected 'dn' and check if
              we're allowed to remove this 'dn' */
-          $acl = $this->ui->get_permissions($this->dn,"groups/group");
+          $acl = $this->ui->get_permissions($dn,"groups/group");
           if(preg_match("/d/",$acl)){
 
             /* Delete request is permitted, perform LDAP action */
-            $this->grouptab= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $this->dn);
-            $this->grouptab->set_acl_base($this->dn);
+            $this->grouptab= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $dn);
+            $this->grouptab->set_acl_base($dn);
             $this->grouptab->delete ();
             unset ($this->grouptab);
             $this->grouptab= NULL;