From: hickert Date: Mon, 15 Oct 2007 09:12:46 +0000 (+0000) Subject: Fixed permission problems with new created departments X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13ee815a5b1a462a4de0de923f5d7dc333ef2d40;p=gosa.git Fixed permission problems with new created departments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7547 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 4dcefc5b3..c4a1176fe 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -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()){