From 4cad83f73d3ad96601fb0aade27280ff6f5f8510 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 9 May 2014 14:07:01 -0400 Subject: Fix call-time pass-by-reference in bind, bump. --- config/bind/bind.inc | 2 +- config/bind/bind_zones.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/bind') 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 @@ if ($_POST['type']=="master") $_POST['serial']=(date("U")+ 1000000000); - bind_zone_validate($_POST, &$input_errors); + bind_zone_validate($_POST, $input_errors); bind_sync(); -- cgit v1.2.3