Code

Added fix for not existing fai classes
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Jun 2006 11:48:09 +0000 (11:48 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Jun 2006 11:48:09 +0000 (11:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3670 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index 893939093660948d9f7016770ec15e1252d71a7b..88e4d38c79874a6407dc76556dfed5729f732056 100644 (file)
@@ -118,8 +118,11 @@ class workstartup extends plugin
       natcasesort($this->FAIclasses);
     }
 
-    $this->FAIclassInfo = $tmp2;
-
+    if(isset($tmp2)){
+      $this->FAIclassInfo = $tmp2;
+    } else {
+      $this->FAIclassInfo = array();
+    }
 
     /* Build up an array like this one :
         [$url]['SERVER'] = 'srv1-002';