Code

Fixed permission problems with new created departments
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Oct 2007 09:12:46 +0000 (09:12 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Oct 2007 09:12:46 +0000 (09:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7547 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentManagement.inc

index 4dcefc5b3df8d575b8596befcba987bd5a6005b1..c4a1176fea0d09f688abc7a3e4b99cc12cf91182 100644 (file)
@@ -289,7 +289,10 @@ class departmentManagement extends plugin
       if (count($message) == 0){
 
         $this->deptabs->save(true);
-        $this->config->get_departments();
+        global $config;
+        $config->get_departments();
+        $config->make_idepartments();
+        $this->config = $config;
 
         /* This object must be tagged, so set ObjectTaggingRequested to true */
         if($this->deptabs->by_object['department']->must_be_tagged()){