From ac0e5ac43d867fd80e46044a1b900e3185aabad0 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 3 Dec 2008 12:44:35 +0000 Subject: [PATCH] Fixed undefined index in class_faiVariable.inc git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13145 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiVariable.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiVariable.inc b/gosa-plugins/fai/admin/fai/class_faiVariable.inc index 2f3249fce..6a9150e4e 100644 --- a/gosa-plugins/fai/admin/fai/class_faiVariable.inc +++ b/gosa-plugins/fai/admin/fai/class_faiVariable.inc @@ -329,7 +329,7 @@ class faiVariable extends plugin $tmp = array(); foreach($this->subAttributes as $attrs){ - if($obj[$attrs] == ""){ + if(!isset($obj[$attrs]) || $obj[$attrs] == ""){ $obj[$attrs] = array(); } $tmp[$attrs] = $obj[$attrs]; -- 2.30.2