From f0aeb84070b8f43f138c0072f9d397051f9de529 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 15 Oct 2008 12:24:54 +0000 Subject: [PATCH] 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 --- gosa-plugins/fai/admin/fai/class_faiHook.inc | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.30.2