- 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
This commit is contained in:
plegall 2005-02-13 18:26:01 +00:00
parent 2829f5105f
commit 72b4671ba9

View file

@ -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