Code

Added systems image
[gosa.git] / gosa-plugins / systems / admin / systems / tabs_server.inc
index 63a1a9545c40bef7eb8daa39f4950ea394495b23..2a1e59f0a1fe68de16292cf408cdf54bae70f317 100644 (file)
@@ -32,8 +32,12 @@ class servtabs extends tabs
     $baseobject= NULL;
 
     foreach ($data as $tab){
-      $this->by_name[$tab['CLASS']]= $tab['NAME'];
+  
+      if(!class_available($tab['CLASS'])){
+        continue;
+      }
 
+      $this->by_name[$tab['CLASS']]= $tab['NAME'];
       if ($baseobject === NULL){
         $baseobject= new $tab['CLASS']($this->config, $this->dn,NULL,$this);
         $this->by_object[$tab['CLASS']]= $baseobject;