aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--register.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/register.php b/register.php
index 02a1a1800..2fce11d52 100644
--- a/register.php
+++ b/register.php
@@ -52,12 +52,11 @@ if (isset($_POST['submit']))
$page['errors'][] = l10n('please enter your password again');
}
- $page['errors'] =
- register_user($_POST['login'],
- $_POST['password'],
- $_POST['mail_address'],
- true,
- $page['errors']);
+ register_user($_POST['login'],
+ $_POST['password'],
+ $_POST['mail_address'],
+ true,
+ $page['errors']);
if (count($page['errors']) == 0)
{