From: hickert Date: Wed, 14 May 2008 11:22:18 +0000 (+0000) Subject: Fixed blocklistm remove acl check. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=56a7aaedabb326454173e7fd06c4bb8574128861;p=gosa.git Fixed blocklistm remove acl check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10888 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc index 65b846e3b..8d2d9b6fe 100644 --- a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc +++ b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc @@ -220,7 +220,7 @@ class blocklist extends plugin $this->dns[$id] = $dn; } - $dns_names[] = array(); + $dns_names = array(); foreach($this->dns as $dn){ add_lock ($dn, $this->ui->dn); $dns_names[]=@LDAP::fix( $dn); @@ -243,8 +243,8 @@ class blocklist extends plugin /* Remove user by user and check acls before removeing them */ foreach($this->dns as $key => $dn){ + $this->dn = $dn; if (preg_match("/d/",$this->ui->get_permissions($this->dn,"gofaxlist/blocklistGeneric"))){ - $this->dn = $dn; $this->dialog = new faxblocktabs($this->config,$this->config->data['TABS']['FAXBLOCKTABS'],$this->dn); $this->dialog->delete(); $this->dialog = NULL;