From 1e9b461124a435fe64c62d065d09b01e1ca368e8 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 12 Sep 2013 11:28:14 -0300 Subject: Remove call-time pass by reference for do_input_validation, helps ticket #2565 --- usr/local/www/interfaces_gre_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/interfaces_gre_edit.php') diff --git a/usr/local/www/interfaces_gre_edit.php b/usr/local/www/interfaces_gre_edit.php index 4551aa0..a4c877d 100644 --- a/usr/local/www/interfaces_gre_edit.php +++ b/usr/local/www/interfaces_gre_edit.php @@ -73,7 +73,7 @@ if ($_POST) { $reqdfields = explode(" ", "if tunnel-remote-addr tunnel-remote-net tunnel-local-addr"); $reqdfieldsn = array(gettext("Parent interface"),gettext("Local address"),gettext("Remote tunnel address"),gettext("Remote tunnel network"), gettext("Local tunnel address")); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); if ((!is_ipaddr($_POST['tunnel-local-addr'])) || (!is_ipaddr($_POST['tunnel-remote-addr'])) || (!is_ipaddr($_POST['remote-addr']))) { -- cgit v1.1