From 90cb0cbd940168e234d506e42644e52fc7af5c4d Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Jan 2007 11:50:06 +0000 Subject: [PATCH] Fixed department list git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5538 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_divListDepartment.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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= ""; -- 2.30.2