Code

Updated the info Page
[gosa.git] / gosa-core / include / class_tabs.inc
index da8dc9d76a1f9e4041f91cfc00b60ed4a43904d0..7affa029d2235b3763948b383256b3a35346f255 100644 (file)
@@ -84,6 +84,12 @@ class tabs
       $this->by_object[$tab['CLASS']]->parent= &$this;
       $this->by_object[$tab['CLASS']]->set_acl_category($this->acl_category);
     }
+
+    // Try to set the current tab to the posted value
+    if(isset($_GET['pluginTab'])){
+        $tab = $_GET['pluginTab'];
+        if(isset($this->by_name[$tab])) $this->current = $tab;
+    } 
   }