From 72b4671ba9242ea2fd1ee48fcd68a9e3896bc3db Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 13 Feb 2005 18:26:01 +0000 Subject: - bug fixed : when a error occured during registration, the mail address submitted was not displayed on correction form git-svn-id: http://piwigo.org/svn/trunk@740 68402e56-0260-453c-a942-63ccdbb3a9ee --- register.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'register.php') diff --git a/register.php b/register.php index 28d8b18c6..c3c7ba73b 100644 --- a/register.php +++ b/register.php @@ -49,7 +49,7 @@ SELECT id } $login = !empty($_POST['login'])?$_POST['login']:''; -$email = !empty($_POST['login'])?$_POST['login']:''; +$email = !empty($_POST['mail_address'])?$_POST['mail_address']:''; //----------------------------------------------------- template initialization // @@ -70,7 +70,7 @@ $template->assign_vars(array( 'F_ACTION' => add_session_id('register.php'), 'F_LOGIN' => $login, - 'F_MAIL' => $email + 'F_EMAIL' => $email )); //-------------------------------------------------------------- errors display -- cgit v1.2.3