From f8b6a78165bc9b95761b298f592cd48b8ca2823f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Apr 2010 12:38:14 +0000 Subject: [PATCH] Fixed department stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17738 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/departments/class_department.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/admin/departments/class_department.inc b/gosa-core/plugins/admin/departments/class_department.inc index 391b59e65..e9297748f 100644 --- a/gosa-core/plugins/admin/departments/class_department.inc +++ b/gosa-core/plugins/admin/departments/class_department.inc @@ -217,8 +217,10 @@ class department extends plugin /* Hide base selector, if this object represents the base itself */ $smarty->assign("is_root_dse", $this->is_root_dse); - $nA = $this->namingAttr."ACL"; - $smarty->assign($nA,$this->getacl($this->namingAttr,TRUE)); + if($this->is_root_dse){ + $nA = $this->namingAttr."ACL"; + $smarty->assign($nA,$this->getacl($this->namingAttr,TRUE)); + } /* Hide all departments, that are subtrees of this department */ $bases = $this->get_allowed_bases(); -- 2.30.2