From a939ad7a7e7c5a0658205e45a00cf1129eb7f84b Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 28 Jul 2006 11:46:01 +0000 Subject: [PATCH] Fixed department creation problem git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4340 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_departmentManagement.inc | 5 +++++ plugins/admin/departments/main.inc | 1 + 2 files changed, 6 insertions(+) diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 9bb51d375..b62679e13 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -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, diff --git a/plugins/admin/departments/main.inc b/plugins/admin/departments/main.inc index 4512d6954..5db627873 100644 --- a/plugins/admin/departments/main.inc +++ b/plugins/admin/departments/main.inc @@ -51,6 +51,7 @@ if ($remove_lock){ $display.= $output; $_SESSION['department']= $department; + $config = $department->config; } ?> -- 2.30.2