aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 383674cfb..bc3efed9e 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -75,11 +75,11 @@ function register_user($login, $password, $mail_address,
{
array_push($errors, l10n('reg_err_login1'));
}
- if (preg_match("/^.* $/", $login))
+ if (preg_match('/^.* $/', $login))
{
array_push($errors, l10n('reg_err_login2'));
}
- if (preg_match("/^ .*$/", $login))
+ if (preg_match('/^ .*$/', $login))
{
array_push($errors, l10n('reg_err_login3'));
}