summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 547a5db)
raw | patch | inline | side by side (parent: 547a5db)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Jan 2007 11:50:06 +0000 (11:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Jan 2007 11:50:06 +0000 (11:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5538 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_divListDepartment.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc
index 501938ad58f74c95e062d31b517577ef77b49c34..04898971f3815e1d906952bf5053cb0d43628766 100755 (executable)
$linkopen = "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
+ $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= "<input class='center' type='image' src='images/edit.png'
alt='"._("edit")."' name='dep_edit_%KEY%' title='"._("Edit this entry")."'>";