From: hickert Date: Fri, 15 Dec 2006 06:15:29 +0000 (+0000) Subject: Reload department array in config object, if department was saved. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a3ca3fd7af4894695f036496868a7aef35d393f7;p=gosa.git Reload department array in config object, if department was saved. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5398 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index a880d8147..6adc17b89 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -201,6 +201,7 @@ class departmentManagement extends plugin if (count($message) == 0){ $this->deptabs->save(true); + $this->config->get_departments(); /* This object must be tagged, so set ObjectTaggingRequested to true */ if($this->deptabs->by_object['department']->must_be_tagged()){ @@ -269,6 +270,7 @@ class departmentManagement extends plugin remove locks & save object tab & unset current object */ if($this->ObjectInSaveMode && (!$this->RecursiveRemoveRequested) && (!$this->ObjectTaggingRequested)){ $this->deptabs->save(); + $this->config->get_departments(); $this->ObjectInSaveMode = false; if ($this->dn != "new"){ del_lock ($this->dn);