diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 9856fed429bbc4c9b26d60d45b83edbd0fcddedb..b62679e1328e2dcaf80085d4bf400045af6ce586 100644 (file)
return(gen_locked_message($user, $this->dn));
} else {
add_lock ($this->dn, $this->ui->dn);
return(gen_locked_message($user, $this->dn));
} else {
add_lock ($this->dn, $this->ui->dn);
- $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), LDAP::fix($this->dn)));
+ $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), @LDAP::fix($this->dn)));
$display.= $smarty->fetch (get_template_path('remove.tpl', TRUE));
return ($display);
}
$display.= $smarty->fetch (get_template_path('remove.tpl', TRUE));
return ($display);
}
/* This var indicated that there is an object which isn't saved right now. */
$this->ObjectInSaveMode = true;
/* This var indicated that there is an object which isn't saved right now. */
$this->ObjectInSaveMode = true;
+
+ $this->config->get_departments($this->dn);
+ $this->config->make_idepartments();
+
+ $this->DivListDepartment->config=$this->config;
} else {
/* Ok. There seem to be errors regarding to the tab data,
} else {
/* Ok. There seem to be errors regarding to the tab data,