aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions_user.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index fb7d32494..5ed6c169f 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -44,11 +44,10 @@ function validate_mail_address( $mail_address )
}
}
-function register_user($login, $password, $mail_address)
+function register_user($login, $password, $mail_address, $errors = array())
{
global $lang, $conf;
- $errors = array();
if ($login == '')
{
array_push($errors, $lang['reg_err_login1']);