Code

Not all extension must be activated in gosa.conf.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Nov 2006 11:10:56 +0000 (11:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Nov 2006 11:10:56 +0000 (11:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5103 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/users/class_userManagement.inc

index 5bb7d839b4a5a9ba2159285d735600c64c009897..f76950cf48c9c5b8a0d8c169066c752f702792bd 100644 (file)
@@ -105,6 +105,11 @@ class userManagement extends plugin
       $s_tab= "user";
     }
 
+    /* Some may be active but diabled in gosa.conf. */
+    if(!search_config($this->config->data['TABS'], $s_tab , "CLASS")){
+      $s_tab = "user";
+    }
+
     /* Display the copy & paste dialog, if it is currently open */
     $ret = $this->copyPasteHandling($s_action,$s_entry);
     if($ret){