summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-09-12 11:28:14 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-09-12 11:28:14 -0300
commit1e9b461124a435fe64c62d065d09b01e1ca368e8 (patch)
tree5c6a4f802cf9122bfafed4dd787cce03c0a871e6 /usr/local/www/firewall_nat_1to1_edit.php
parenta413e74379ceec27b9379d0537862d84bb86fe97 (diff)
downloadpfsense-1e9b461124a435fe64c62d065d09b01e1ca368e8.zip
pfsense-1e9b461124a435fe64c62d065d09b01e1ca368e8.tar.gz
Remove call-time pass by reference for do_input_validation, helps ticket #2565
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_1to1_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php
index 50c0fa9..2f27e91 100755
--- a/usr/local/www/firewall_nat_1to1_edit.php
+++ b/usr/local/www/firewall_nat_1to1_edit.php
@@ -121,7 +121,7 @@ if ($_POST) {
$reqdfieldsn[] = gettext("Destination address");
}
- do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
+ do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
if ($_POST['external'])
$_POST['external'] = trim($_POST['external']);
OpenPOWER on IntegriCloud