X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=gosa-core%2Fplugins%2Fadmin%2Fdepartments%2Fclass_departmentGeneric.inc;h=78e514f1e2af041e3b302cd4d85cb3c5cc4e9713;hb=10100c5c8d92e45a0719bc321a3767f65966d9d7;hp=c5f5e01432d6c6135c16fe77026c84d8b7e24df6;hpb=d5084a85ebd346a0444f566a2d4bc9702b30ef92;p=gosa.git diff --git a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc index c5f5e0143..78e514f1e 100644 --- a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc +++ b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc @@ -36,7 +36,7 @@ class department extends plugin var $gosaUnitTag= ""; var $view_logged = FALSE; - var $type ="ou"; + var $type ="organizationalUnit"; var $namingAttr = "ou"; /* Headpage attributes */ @@ -209,7 +209,7 @@ class department extends plugin $dep_types = departmentManagement::get_support_departments(); $tpl =""; foreach($dep_types as $key => $data){ - if($data['ATTR'] == $this->type){ + if($data['OC'] == $this->type){ $tpl = $data['TPL']; break; } @@ -284,8 +284,8 @@ class department extends plugin } } - /* If this is the root directory service entry (rootDSE) - then avoid changing the naming attribute of this entry. + /* If this is the root directory service entry then avoid + changing the naming attribute of this entry. */ if($this->dn == $this->config->current['BASE']){ $this->$nA = $old_nA;