diff --git a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc
index c5f5e01432d6c6135c16fe77026c84d8b7e24df6..78e514f1e2af041e3b302cd4d85cb3c5cc4e9713 100644 (file)
var $gosaUnitTag= "";
var $view_logged = FALSE;
- var $type ="ou";
+ var $type ="organizationalUnit";
var $namingAttr = "ou";
/* Headpage attributes */
$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;
}
}
}
- /* 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;