From: hickert Date: Thu, 20 Sep 2007 06:26:58 +0000 (+0000) Subject: Fixed remove_multiple in groups X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f865c41fd0765062b5b7c8b32cce4b9c5391bc7b;p=gosa.git Fixed remove_multiple in groups git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7341 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index f202fa5e3..67cd7091c 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -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;