From: cajus Date: Wed, 7 Jun 2006 11:48:09 +0000 (+0000) Subject: Added fix for not existing fai classes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0db7fc5b1834e05a4be7f8e4cb930d4f7998cb30;p=gosa.git Added fix for not existing fai classes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3670 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 893939093..88e4d38c7 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -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';