From: hickert Date: Tue, 24 Jun 2008 13:29:56 +0000 (+0000) Subject: Fixed error in department management. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=698cb9465f35d82d587bcb73c21be149cbaabc13;p=gosa.git Fixed error in department management. -If a currenlty unsupported type of department was created -> php error. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11421 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index 9700cef10..357331c49 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -126,10 +126,10 @@ class departmentManagement extends plugin $tab = $objects[$s_entry]['TAB']; $acl = $objects[$s_entry]['ACL']; $this->deptabs= new deptabs($this->config,$this->config->data['TABS'][$tab], $this->dn,$acl); + $this->deptabs->set_acl_base($this->DivListDepartment->selectedBase); }else{ trigger_error("Invalid / Not implemented countainer type."); } - $this->deptabs->set_acl_base($this->DivListDepartment->selectedBase); }