Code

Fixed department stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 12:38:14 +0000 (12:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 12:38:14 +0000 (12:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17738 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_department.inc

index 391b59e658c03afc0779b9d24f8a8f9e0276a87c..e9297748f3f6cd99067cce64c4eeb200cdceaa66 100644 (file)
@@ -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();