aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-09 14:07:01 -0400
committerjim-p <jimp@pfsense.org>2014-05-09 14:07:01 -0400
commit4cad83f73d3ad96601fb0aade27280ff6f5f8510 (patch)
tree332b84263c2adb5fef3ae94d75400b6f6b224b03 /config
parentda61214a7227bd9035ea4be8fab3dbedf681a2a7 (diff)
downloadpfsense-packages-4cad83f73d3ad96601fb0aade27280ff6f5f8510.tar.gz
pfsense-packages-4cad83f73d3ad96601fb0aade27280ff6f5f8510.tar.bz2
pfsense-packages-4cad83f73d3ad96601fb0aade27280ff6f5f8510.zip
Fix call-time pass-by-reference in bind, bump.
Diffstat (limited to 'config')
-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();