From: hickert Date: Thu, 11 Jan 2007 11:50:06 +0000 (+0000) Subject: Fixed department list X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=90cb0cbd940168e234d506e42644e52fc7af5c4d;p=gosa.git Fixed department list git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5538 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc index 501938ad5..04898971f 100755 --- a/plugins/admin/departments/class_divListDepartment.inc +++ b/plugins/admin/departments/class_divListDepartment.inc @@ -88,10 +88,11 @@ class divListDepartment extends MultiSelectWindow $linkopen = "%s"; + $ui = get_userinfo(); foreach($list as $key => $val) { - $acl= get_permissions ($val['dn'], $this->ui->subtreeACL); - $acl= get_module_permission($acl, "department", $val['dn']); + $acl= get_permissions ($this->config->departments[$key], $ui->subtreeACL); + $acl= get_module_permission($acl, "department", $this->config->departments[$key]); $actions= "";