From 3ef5464b262738487b78a1f3a6a09e3616c391cd Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 23 Sep 2014 08:37:16 +0000 Subject: bug fixed: register_user can be called with no ['mail_address'] git-svn-id: http://piwigo.org/svn/trunk@29759 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_user.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 126a22838..91bac83bb 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -236,7 +236,7 @@ SELECT id $keyargs_content = array( get_l10n_args('User: %s', stripslashes($login) ), - get_l10n_args('Email: %s', $_POST['mail_address']), + get_l10n_args('Email: %s', $mail_address), get_l10n_args(''), get_l10n_args('Admin: %s', $admin_url), ); -- cgit v1.2.3