Code

Better way for selecting the specific tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Aug 2005 14:25:41 +0000 (14:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Aug 2005 14:25:41 +0000 (14:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1062 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/users/class_userManagement.inc

index 644b8ea475c01521e6d67a7d0e545ba5d6f16462..4e493dc269f422957429848941f60a742abf6b2e 100644 (file)
@@ -190,9 +190,12 @@ class userManagement extends plugin
         $acl= get_permissions ($this->dn, $this->ui->subtreeACL);
 
         /* Register usertab to trigger edit dialog */
-        $_POST[$s_tab]=$s_tab;
         $this->usertab= new usertabs($this->config, 
             $this->config->data['TABS']['USERTABS'], $this->dn);
+//        $_POST[$s_tab]=$s_tab;
+
+// This would be better
+        $this->usertab->current = $s_tab;
         $this->usertab->set_acl($acl);
 
         $_SESSION['objectinfo']= $this->dn;