summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88c4e57)
raw | patch | inline | side by side (parent: 88c4e57)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Feb 2009 13:04:37 +0000 (13:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Feb 2009 13:04:37 +0000 (13:04 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13378 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc | patch | blob | history |
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 c821a5333392f02908de529d4c2b5a5a29b9683f..59e15d71270328d9496007132f604e4f6e0266e6 100644 (file)
/* 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
*/