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_usermanager.php
193 193
		}
194 194
	}
195 195

  
196
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
196
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
197 197

  
198 198
	if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['usernamefld']))
199 199
		$input_errors[] = gettext("The username contains invalid characters.");

Also available in: Unified diff