Code

Fixed foreach error
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 06:11:07 +0000 (06:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 06:11:07 +0000 (06:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2686 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiHookEntry.inc

index 8232a156005a1d189d7503ca4f881d74216a9984..3a7e455e04ec40b4096785692bfde0700b3bdde4 100644 (file)
@@ -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'];