aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'register.php')
-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