From c3a786a7af7dcec35d946e2e7f551ab29f05ad1c Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 14 Feb 2006 06:11:07 +0000 Subject: [PATCH] Fixed foreach error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2686 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiHookEntry.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/fai/class_faiHookEntry.inc b/plugins/admin/fai/class_faiHookEntry.inc index 8232a1560..3a7e455e0 100644 --- a/plugins/admin/fai/class_faiHookEntry.inc +++ b/plugins/admin/fai/class_faiHookEntry.inc @@ -33,7 +33,7 @@ class faiHookEntry extends plugin $oname = $name; $this->$oname=$value; } - }else{ + }elseif(is_array($object)){ if(count($object)){ $this->orig_cn= $object['cn']; $this->dn=$object['dn']; -- 2.30.2