aboutsummaryrefslogtreecommitdiffstats
path: root/config/bind/bind_zones.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/bind/bind_zones.xml')
-rw-r--r--config/bind/bind_zones.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml
index 24c3b99e..d771ada6 100644
--- a/config/bind/bind_zones.xml
+++ b/config/bind/bind_zones.xml
@@ -432,7 +432,7 @@
<custom_php_command_before_form>
</custom_php_command_before_form>
<custom_php_validation_command>
- if ($_POST['type']=="master")
+ if ($_POST['type']=="master" and $_POST['serial']=="")
$_POST['serial']=(date("U")+ 1000000000);
bind_zone_validate($_POST, $input_errors);
</custom_php_validation_command>