From: hickert Date: Tue, 20 Apr 2010 12:38:14 +0000 (+0000) Subject: Fixed department stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f8b6a78165bc9b95761b298f592cd48b8ca2823f;p=gosa.git Fixed department stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17738 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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();