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
This commit is contained in:
patdenice
2009-10-14 16:13:25 +00:00
parent 246634cb72
commit e04bd969cb
3 changed files with 5 additions and 5 deletions

View File

@@ -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'));
}