From 1e9b461124a435fe64c62d065d09b01e1ca368e8 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 12 Sep 2013 11:28:14 -0300 Subject: Remove call-time pass by reference for do_input_validation, helps ticket #2565 --- usr/local/www/system_usermanager_passwordmg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/system_usermanager_passwordmg.php') diff --git a/usr/local/www/system_usermanager_passwordmg.php b/usr/local/www/system_usermanager_passwordmg.php index 55f8150..10ff645 100644 --- a/usr/local/www/system_usermanager_passwordmg.php +++ b/usr/local/www/system_usermanager_passwordmg.php @@ -48,7 +48,7 @@ if (isset($_POST['save'])) { $reqdfields = explode(" ", "passwordfld1"); $reqdfieldsn = array(gettext("Password")); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); if ($_POST['passwordfld1'] != $_POST['passwordfld2']) $input_errors[] = gettext("The passwords do not match."); -- cgit v1.1