Code

Updated FAI script
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 12:01:59 +0000 (12:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 12:01:59 +0000 (12:01 +0000)
-Fixed PHP warnings when faiScriptEntry was removed.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12706 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiScript.inc

index 67eed4dcebee304349f66afbbb2541055a117e2e..6e5ee1ce58c7f5cbb425dc00f17837e34ba7c1e1 100644 (file)
@@ -542,7 +542,7 @@ class faiScript extends plugin
       $tmp = array();
       $attributes = array_merge($this->sub_Load_Later,$this->subAttributes);
       foreach($attributes as $attrs){
-
+        if(!isset($obj[$attrs])) continue; 
         if($obj[$attrs] == ""){
           $obj[$attrs] = array();
         }