From: hickert Date: Tue, 14 Feb 2006 06:11:07 +0000 (+0000) Subject: Fixed foreach error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c3a786a7af7dcec35d946e2e7f551ab29f05ad1c;p=gosa.git Fixed foreach error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2686 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'];