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_certmanager.php
245 245
		}
246 246

  
247 247
		$altnames = array();
248
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
248
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
249 249
		if ($pconfig['method'] != "import") {
250 250
			/* subjectAltNames */
251 251
			foreach ($_POST as $key => $value) {
......
414 414
			gettext("Descriptive name"),
415 415
			gettext("Final Certificate data"));
416 416

  
417
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
417
		do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
418 418

  
419 419
//		old way
420 420
		/* make sure this csr and certificate subjects match */

Also available in: Unified diff