mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +03:00
- 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:
parent
2829f5105f
commit
72b4671ba9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue