Code

Fixed department creation problem
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Jul 2006 11:46:01 +0000 (11:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Jul 2006 11:46:01 +0000 (11:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4340 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentManagement.inc
plugins/admin/departments/main.inc

index 9bb51d3755ed233395f9e600d411000697e92cd9..b62679e1328e2dcaf80085d4bf400045af6ce586 100644 (file)
@@ -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,
index 4512d6954a1e6100bb5995fe09cfcb2ebca35d3d..5db627873ebe0dfa0a7b684d204147f52c2ae90f 100644 (file)
@@ -51,6 +51,7 @@ if ($remove_lock){
 
        $display.= $output;
        $_SESSION['department']= $department;
+       $config = $department->config;
 }
 
 ?>