X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fdepartments%2Fclass_departmentManagement.inc;h=b62679e1328e2dcaf80085d4bf400045af6ce586;hb=99b0a430dfa6d1cfad04ccf0302e1fbff0b02e28;hp=9856fed429bbc4c9b26d60d45b83edbd0fcddedb;hpb=6e197560bc387121290d7e072f9936e8dd7092c1;p=gosa.git diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 9856fed42..b62679e13 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -155,7 +155,7 @@ class departmentManagement extends plugin 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); } @@ -208,6 +208,11 @@ class departmentManagement extends plugin /* 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,