From: hickert Date: Tue, 22 Jul 2008 13:16:01 +0000 (+0000) Subject: Updated termdns to support the new dhcp plugin initialization. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a1e435ada04ee97e47ae68d79733d887246f7492;p=gosa.git Updated termdns to support the new dhcp plugin initialization. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11750 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index 0f6bce660..35ec21d23 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -313,9 +313,9 @@ class termDNS extends plugin if(isset($_POST['dhcpEditOptions']) && $this->acl_is_readable("dhcpSetup")){ if(count($this->dhcpHostEntry) == 0){ - $this->dialog = new dhcpHost($this->dhcpParentNode,TRUE); + $this->dialog = new dhcpHost($this->parent,$this->dhcpParentNode,TRUE); }else{ - $this->dialog = new dhcpHost($this->dhcpHostEntry,TRUE); + $this->dialog = new dhcpHost($this->parent,$this->dhcpHostEntry,TRUE); } $this->dialog->cn = $this->cn; $this->dialog->read_only = !$this->acl_is_writeable("dhcpSetup"); @@ -722,7 +722,7 @@ class termDNS extends plugin if($this->dhcpEnabled && $this->acl_is_writeable("dhcpSetup")) { if(count($this->dhcpHostEntry) == 0){ - $this->dialog = new dhcpHost($this->dhcpParentNode,TRUE); + $this->dialog = new dhcpHost($parent,$this->dhcpParentNode,TRUE); $this->dialog->cn = $this->cn; $this->dialog->dhcpHWAddress = "ethernet ".$this->macAddress; if(!empty($this->ipHostNumber)){