mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 20:29:58 +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']:'';
|
$login = !empty($_POST['login'])?$_POST['login']:'';
|
||||||
$email = !empty($_POST['login'])?$_POST['login']:'';
|
$email = !empty($_POST['mail_address'])?$_POST['mail_address']:'';
|
||||||
|
|
||||||
//----------------------------------------------------- template initialization
|
//----------------------------------------------------- template initialization
|
||||||
//
|
//
|
||||||
|
@ -70,7 +70,7 @@ $template->assign_vars(array(
|
||||||
|
|
||||||
'F_ACTION' => add_session_id('register.php'),
|
'F_ACTION' => add_session_id('register.php'),
|
||||||
'F_LOGIN' => $login,
|
'F_LOGIN' => $login,
|
||||||
'F_MAIL' => $email
|
'F_EMAIL' => $email
|
||||||
));
|
));
|
||||||
|
|
||||||
//-------------------------------------------------------------- errors display
|
//-------------------------------------------------------------- errors display
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue