summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8475802)
raw | patch | inline | side by side (parent: 8475802)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 16 May 2008 13:32:13 +0000 (13:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 16 May 2008 13:32:13 +0000 (13:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10932 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 943f8c62193cb7aff9a4401900c840cfffc4c75f..53ead43a9364fd5438a6908f6cbf561e34556646 100644 (file)
$acl_cat = $tabs[$selected_system]["ACL"];
/* Go through all objects that should be activated */
- foreach($this->system_activation_object as $dn){
+ foreach($this->system_activation_object as $key => $dn){
+ /* Remove entry from list, to avoid page-reload problems */
+ unset($this->system_activation_object[$key]);
+
/* Load permissions for selected 'dn' and check if
we're allowed to create this 'dn' */
$this->dn = $dn;
// Enable activation
foreach (array("servgeneric", "workgeneric", "termgeneric") as $cls){
if (isset($this->systab->by_object[$cls])){
- $this->systab->by_object["workstartup"]->auto_activate= TRUE;
+ $this->systab->by_object[$cls]->auto_activate= TRUE;
}
}
/* Don't save directly if there is no objectGroup selected.
The user will then be able to configure the missing attributes
on his own.
- */
+ */
if($selected_group != "none"){
$this->systab->save();
$this->systab = NULL;