diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-12-30 21:13:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-12-30 21:13:54 +0000 |
commit | 697e5eb49dc29e47333c0805c4ee97de28b7ff76 (patch) | |
tree | 65de7f9ac203505e17cb59a852a6fc25a777a19f /account.php | |
parent | be2615049a1a07d2f4edbcb94cd0c9d438a9ae86 (diff) | |
download | brdo-697e5eb49dc29e47333c0805c4ee97de28b7ff76.tar.gz brdo-697e5eb49dc29e47333c0805c4ee97de28b7ff76.tar.bz2 |
- Fixed bug in account.php.
- Updated the documentation (again): I spent most of the day writing
documentation which might well be considered plain boring.
Diffstat (limited to 'account.php')
-rw-r--r-- | account.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/account.php b/account.php index f1cb5838b..552cfb814 100644 --- a/account.php +++ b/account.php @@ -323,6 +323,8 @@ function account_user($uname) { } function account_validate($user) { + global $type2index; + // Verify username and e-mail address: if (empty($user[real_email]) || (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $user[real_email]))) $error .= "<LI>the specified e-mail address is not valid.</LI>\n"; if (empty($user[userid]) || (ereg("[^a-zA-Z0-9_-]", $user[userid]))) $error .= "<LI>the specified username is not valid.</LI>\n"; |