Code

Updated dhcpHost checks.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Sep 2008 07:40:15 +0000 (07:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Sep 2008 07:40:15 +0000 (07:40 +0000)
-Fixed undefined index

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12501 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpHost.inc

index 776a3e6c1d0852da6f404d2cb05c5a148ed77a3d..c7569d2c95f46da2445ff64076f60cc721ba2dd5 100644 (file)
@@ -134,7 +134,7 @@ class dhcpHost extends dhcpPlugin
     $message= array();
 
     $cache = array();
-    if(isset($this->parent)){
+    if(isset($this->parent) && isset($this->parent->dhcpObjectCache)){
       $cache = $this->parent->dhcpObjectCache;
     }