Changeset 3747 for trunk/include/functions_user.inc.php
- Timestamp:
- Aug 17, 2009, 6:21:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r3642 r3747 76 76 array_push($errors, l10n('reg_err_login1')); 77 77 } 78 if ( ereg("^.* $", $login))78 if (preg_match('/^.* $/', $login)) 79 79 { 80 80 array_push($errors, l10n('reg_err_login2')); 81 81 } 82 if ( ereg("^ .*$", $login))82 if (preg_match('/^ .*$/', $login)) 83 83 { 84 84 array_push($errors, l10n('reg_err_login3'));
Note: See TracChangeset
for help on using the changeset viewer.