Ignore:
Timestamp:
Oct 14, 2009, 6:13:25 PM (14 years ago)
Author:
patdenice
Message:

Replace another depreciated functions.
Depreciated functions were removed in trunk in commit 3747 by Eric.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/functions_user.inc.php

    r4035 r4036  
    7676    array_push($errors, l10n('reg_err_login1'));
    7777  }
    78   if (preg_match("/^.* $/", $login))
     78  if (preg_match('/^.* $/', $login))
    7979  {
    8080    array_push($errors, l10n('reg_err_login2'));
    8181  }
    82   if (preg_match("/^ .*$/", $login))
     82  if (preg_match('/^ .*$/', $login))
    8383  {
    8484    array_push($errors, l10n('reg_err_login3'));
Note: See TracChangeset for help on using the changeset viewer.