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/services_captiveportal.php
155 155
		$reqdfields = explode(" ", "zone cinterface");
156 156
		$reqdfieldsn = array(gettext("Zone name"), gettext("Interface"));
157 157

  
158
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
158
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
159 159

  
160 160
		/* make sure no interfaces are bridged or used on other zones */
161 161
		if (is_array($_POST['cinterface'])) {

Also available in: Unified diff