Code

Added fix for non existing fai classes
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Jun 2006 11:47:17 +0000 (11:47 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Jun 2006 11:47:17 +0000 (11:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3669 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';