From: hickert Date: Tue, 3 Feb 2009 13:04:37 +0000 (+0000) Subject: Updated DNS. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c8a34c6fb3550c352e7cd0bb6cbae5432252fd49;p=gosa.git Updated DNS. -Allow creation of DNS Zones for new (still unsaved) servers. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13378 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc index c821a5333..59e15d712 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc +++ b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc @@ -203,9 +203,12 @@ class servdns extends goService /* Add empty new zone */ - if(isset($_POST['AddZone'])){ - $this->dialog = new servdnseditZone($this->config,$this->dn); - } + if(isset($_POST['AddZone'])){ + $this->dialog = new servdnseditZone($this->config,$this->dn); + if($this->is_new){ + $this->dialog->acl_base = $this->acl_base; + } + } /* Check for edit zone request */