aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-02-13 18:26:01 +0000
committerplegall <plg@piwigo.org>2005-02-13 18:26:01 +0000
commit72b4671ba9242ea2fd1ee48fcd68a9e3896bc3db (patch)
tree1646f2ef8fb0bb207a8e0b7ef6caa5258efeb272 /register.php
parent2829f5105f90e96774f78744c1b62b0007a3a608 (diff)
- 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
Diffstat (limited to '')
-rw-r--r--register.php4
1 files changed, 2 insertions, 2 deletions
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