diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-09-12 11:28:14 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-09-12 11:28:14 -0300 |
commit | 1e9b461124a435fe64c62d065d09b01e1ca368e8 (patch) | |
tree | 5c6a4f802cf9122bfafed4dd787cce03c0a871e6 /usr/local/www/vpn_pptp.php | |
parent | a413e74379ceec27b9379d0537862d84bb86fe97 (diff) | |
download | pfsense-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/vpn_pptp.php')
-rwxr-xr-x | usr/local/www/vpn_pptp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php index a5da316..ac3dc8c 100755 --- a/usr/local/www/vpn_pptp.php +++ b/usr/local/www/vpn_pptp.php @@ -87,7 +87,7 @@ if ($_POST) { array(gettext("RADIUS server address"),gettext("RADIUS shared secret"))); } - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); if (($_POST['localip'] && !is_ipaddr($_POST['localip']))) { $input_errors[] = gettext("A valid server address must be specified."); @@ -119,7 +119,7 @@ if ($_POST) { $reqdfields = explode(" ", "redir"); $reqdfieldsn = array(gettext("PPTP redirection target address")); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); if (($_POST['redir'] && !is_ipaddr($_POST['redir']))) { $input_errors[] = gettext("A valid target address must be specified."); |