From 896b231434260fdfec1b727b0bdd9f0bd931c632 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 27 Mar 2008 08:44:19 +0000 Subject: [PATCH] Fixed undefined index error. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10011 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_FAI.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_FAI.inc b/gosa-plugins/fai/admin/fai/class_FAI.inc index f408ef4a6..f6f806185 100644 --- a/gosa-plugins/fai/admin/fai/class_FAI.inc +++ b/gosa-plugins/fai/admin/fai/class_FAI.inc @@ -186,7 +186,7 @@ class FAI $ar1[$key1] = $val1[0]; } - if((is_array($ar2[$key1])) && (count($ar2[$key1])==1)){ + if(isset($ar2[$key1])&& (is_array($ar2[$key1])) && (count($ar2[$key1])==1)){ $val1 = $val1[0]; $ar2[$key1] = $ar2[$key1][0]; } -- 2.30.2