From a27a82db1e320fd12bf2adc8f6f313809c269c55 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 7 Jun 2006 11:47:17 +0000 Subject: [PATCH] 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 --- 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