aboutsummaryrefslogtreecommitdiffstats
path: root/config/bind
diff options
context:
space:
mode:
Diffstat (limited to 'config/bind')
-rw-r--r--config/bind/bind.inc2
-rw-r--r--config/bind/bind_zones.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc
index 17d171d1..9b4a444d 100644
--- a/config/bind/bind.inc
+++ b/config/bind/bind.inc
@@ -47,7 +47,7 @@ else
define('CHROOT_LOCALBASE','/cf/named');
-function bind_zone_validate($post, $input_errors){
+function bind_zone_validate($post, &$input_errors){
if (key_exists("mail",$_POST))
$_POST['mail']=preg_replace("/@/",".",$post['mail']);
diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml
index 3506df63..24c3b99e 100644
--- a/config/bind/bind_zones.xml
+++ b/config/bind/bind_zones.xml
@@ -434,7 +434,7 @@
<custom_php_validation_command>
if ($_POST['type']=="master")
$_POST['serial']=(date("U")+ 1000000000);
- bind_zone_validate($_POST, &amp;$input_errors);
+ bind_zone_validate($_POST, $input_errors);
</custom_php_validation_command>
<custom_delete_php_command>
bind_sync();