diff options
author | patdenice <patdenice@piwigo.org> | 2009-10-14 16:13:25 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2009-10-14 16:13:25 +0000 |
commit | e04bd969cb1566afd69a1efdf5fb502829d6491e (patch) | |
tree | b7897d31a6fbb60b670a91b1dbee21ac19029f49 /include/functions_user.inc.php | |
parent | 246634cb72fdd3c9e0b9f67be2bb9e7fe12aabee (diff) |
Replace another depreciated functions.
Depreciated functions were removed in trunk in commit 3747 by Eric.
git-svn-id: http://piwigo.org/svn/branches/2.0@4036 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_user.inc.php | 4 |
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')); } |