From 0db7fc5b1834e05a4be7f8e4cb930d4f7998cb30 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 7 Jun 2006 11:48:09 +0000 Subject: [PATCH] Added fix for not existing fai classes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3670 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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'; -- 2.30.2