From: hickert Date: Wed, 15 Oct 2008 12:24:54 +0000 (+0000) Subject: Updated FAI Script & Hook X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f0aeb84070b8f43f138c0072f9d397051f9de529;p=gosa.git Updated FAI Script & Hook -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 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc index def5b3541..a8c845fdf 100644 --- a/gosa-plugins/fai/admin/fai/class_faiHook.inc +++ b/gosa-plugins/fai/admin/fai/class_faiHook.inc @@ -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(); }