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/system_gateways_edit.php
99 99
	$reqdfields = explode(" ", "name interface");
100 100
	$reqdfieldsn = array(gettext("Name"), gettext("Interface"));
101 101

  
102
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
102
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
103 103

  
104 104
	if (! isset($_POST['name'])) {
105 105
		$input_errors[] = "A valid gateway name must be specified.";

Also available in: Unified diff