Code

Updated FAI Script & Hook
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 12:24:54 +0000 (12:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 12:24:54 +0000 (12:24 +0000)
-In some cases were PHP warnings displayed if an entry was renamed.

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

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

index def5b3541c964c7ab0d0cc30f27b341fd1bbab62..a8c845fdf99ea9ee65c6658e077623737db8dae2 100644 (file)
@@ -488,6 +488,7 @@ class faiHook 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();
         }