From: hickert Date: Thu, 27 Mar 2008 08:44:19 +0000 (+0000) Subject: Fixed undefined index error. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=896b231434260fdfec1b727b0bdd9f0bd931c632;p=gosa.git Fixed undefined index error. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10011 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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]; }