Project

General

Profile

« Previous | Next » 

Revision 1e9b4611

Added by Renato Botelho almost 12 years ago

Remove call-time pass by reference for do_input_validation, helps ticket #2565

View differences:

usr/local/www/vpn_l2tp.php
79 79
				array(gettext("RADIUS server address"),gettext("RADIUS shared secret")));
80 80
		}
81 81

  
82
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
82
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
83 83

  
84 84
		if (($_POST['localip'] && !is_ipaddr($_POST['localip']))) {
85 85
			$input_errors[] = gettext("A valid server address must be specified.");

Also available in: Unified diff