Changeset 4035 for branches/2.0/include/functions_user.inc.php
- Timestamp:
- Oct 14, 2009, 5:06:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/functions_user.inc.php
r3643 r4035 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.