From: cajus Date: Wed, 7 Jun 2006 11:47:17 +0000 (+0000) Subject: Added fix for non existing fai classes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a27a82db1e320fd12bf2adc8f6f313809c269c55;p=gosa.git Added fix for non existing fai classes git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3669 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';