From 13ee815a5b1a462a4de0de923f5d7dc333ef2d40 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 15 Oct 2007 09:12:46 +0000 Subject: [PATCH] Fixed permission problems with new created departments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7547 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_departmentManagement.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()){ -- 2.30.2