From a1e435ada04ee97e47ae68d79733d887246f7492 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 22 Jul 2008 13:16:01 +0000 Subject: [PATCH] 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 --- gosa-plugins/systems/admin/systems/class_termDNS.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)){ -- 2.30.2